略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 安装

2024-05-03

安装

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

User Contributed Notes 2 notes

up
-1
gordon at bravenewtalent dot com
7 years ago
In order to install on ubuntu you will need the following libraries:

gfortran
liblapack-dev
up
-3
neel at bravenewtalent dot com
7 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

官方地址:https://www.php.net/manual/en/lapack.installation.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3