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
  

User Contributed Notes

neel at bravenewtalent dot com 20-Mar-2012 03:06
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
gordon at bravenewtalent dot com 20-Mar-2012 11:38
In order to install on ubuntu you will need the following libraries:

gfortran
liblapack-dev

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788