Установка

Большинство дистрибутивных пакетов LAPACK не включают в себя lapacke, поэтому самый простой метод - это сборка из исходного кода:

  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
  
add a note add a note

User Contributed Notes 2 notes

up
1
neel at bravenewtalent dot com
12 years ago
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
up
0
gordon at bravenewtalent dot com
12 years ago
In order to install on ubuntu you will need the following libraries:

gfortran
liblapack-dev
To Top