0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Armadillo

Last updated at Posted at 2016-06-03

CentOS 6にc++の行列演算ライブラリのArmadillo 7.0をインストール

puias computational repositoryをセットアップ(しなくてもよい)
openblas,SuperLU,arpackをインストールするため

gcc4.8をDevtoolset-2リポジトリからインストール
この記事を参考にした
http://www.task-notes.com/entry/20151114/1447492231

その後、

$ sudo yum install lapack-devel openblas-devel SuperLU-devel arpack-devel cmake
$ cmake .
$ make 
$ sudo make install

cmake時にインストール先が/usr/local/libであることを確認する
SuperLU-develはversion 5でないためarmadilloのインストール時に参照されない。。
LD_LIBRARY_PATHにlibarmadillo.soの場所を通しておく。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?