PETsc安装

开始装的时候,偷懒用MKL,使用

./configure --prefix=/public/software/petsc --with-blas-lib=/public/software/mathlib/mkl/libmkl_blas95_lp64.a --with-blas-lib=/public/software/mathlib/mkl/libmkl_lapack95_lp64.a

老报错,说是

 You set a value for --with-blas-lib=<lib> and --with-lapack-lib=<lib> but  libmkl_lapack95_lp64.a libmkl_blas95_lp64.a cannot be used.

到网上找了下答案,如下设置就OK

./configure --prefix=/public/software/petsc  --with-blas-lapack-dir=/public/software/mathlib/mkl

接下来就是很简单的make了

你可能感兴趣的:(PETsc安装)