©
本文檔使用 php中文網手册 發布
Most distribution LAPACK packages do not include lapacke, so the easiest method is to build from source:
svn co https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk lapack cd lapack mkdir build cd build cmake -D BUILD_SHARED_LIBS=ON -D LAPACKE=ON ../ make sudo make install
[#1] neel at bravenewtalent dot com [2012-03-20 15:06:54]
To install on CentOS/RHEL you need blas and the latest version of cmake (at least 2.8)
sudo yum install blas blas-devel
wget http://www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz #or latest version
tar xvf cmake-2.8.7.tar.gz
cd cmake-2.8.7.tar.gz
./configure
make
sudo make install
Then follow the above instructions
[#2] gordon at bravenewtalent dot com [2012-03-20 11:38:42]
In order to install on ubuntu you will need the following libraries:
gfortran
liblapack-dev