freedom3344 2019-11-15 09:47 采纳率: 0%
浏览 1197

linux安装octopus:configure: error: could not find required LAPACK library如何排错

我在linux安装octopus时,在configure这一步系统提示找不到required LAPACK library。但是我的LAPACK确实安装了,路径也是正确的,我自己可以在路径下找到。为什么系统找不到呢?
我的configure命令:

  $ ./configure --prefix=/home/hp/softwares/octopus-8.4 --with-lapack=/home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib

config.log文件里的错误部分:

configure:11535: gfortran -o conftest -I /usr/include -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90  -lxc  >&5
configure:11535: $? = 0
configure:11542: result: yes (-I /usr/include  -lxc)
configure:11553: checking whether libxc version is 3.0
configure:11555: result: no
configure:11558: checking whether libxc version is >= 4.0
configure:11560: result: no
configure:11576: checking whether libxc has support for hybrid meta-GGAs (>= v 2.1)
configure:11588: gfortran -o conftest -I /usr/include -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90  -lxc  >&5
configure:11588: $? = 0
configure:11594: result: yes
configure:11641: checking for sgemm in basedir/lib/libblas.a
configure:11648: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90 basedir/lib/libblas.a   >&5
configure:11648: $? = 0
configure:11657: result: yes (basedir/lib/libblas.a)
configure:12187: checking whether zdotc works
configure:12230: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90  basedir/lib/libblas.a >&5
configure:12230: $? = 0
configure:12230: ./conftest
configure:12230: $? = 0
configure:12248: result: yes
configure:12294: checking for cheev in /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib
configure:12301: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90 /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib basedir/lib/libblas.a   >&5
gfortran: error: /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib: No such file or directory
configure:12301: $? = 1
configure: failed program was:
|       program main
|       call cheev
|       end
configure:12307: result: no
configure:12318: checking for cheev in -lmkl_lapack
configure:12330: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90 -lmkl_lapack  /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib basedir/lib/libblas.a   >&5
gfortran: error: /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib: No such file or directory
configure:12330: $? = 1
configure: failed program was:
|       program main
|       call cheev
|       end
configure:12340: result: no
configure:12318: checking for cheev in -llapack
configure:12330: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90 -llapack  /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib basedir/lib/libblas.a   >&5
gfortran: error: /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib: No such file or directory
configure:12330: $? = 1
configure: failed program was:
|       program main
|       call cheev
|       end
configure:12340: result: no
configure:12318: checking for cheev in -llapack_rs6k
configure:12330: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90 -llapack_rs6k  /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib basedir/lib/libblas.a   >&5
gfortran: error: /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib: No such file or directory
configure:12330: $? = 1
configure: failed program was:
|       program main
|       call cheev
|       end
configure:12340: result: no
configure:12318: checking for cheev in -lacml
configure:12330: gfortran -o conftest -pipe -O3 -funroll-loops -ffast-math -ffree-line-length-none   conftest.f90 -lacml  /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib basedir/lib/libblas.a   >&5
gfortran: error: /home/hp/softwares/octopus-8.4/lapack-3.8.0--with-libxc-prefix=/home/hp/softwares/lib--with-gsl-prefix=/home/hp/softwares/lib--with-fftw-prefix=/home/hp/softwares/lib--with-blas=/home/hp/softwares/lib--enable-mpi=/home/hp/softwares/lib: No such file or directory
configure:12330: $? = 1
configure: failed program was:
|       program main
|       call cheev
|       end
configure:12340: result: no
configure:12358: error: could not find required LAPACK library

万分感谢!

  • 写回答

2条回答 默认 最新

  • ygf1753729228 2021-05-25 23:08
    关注

    请问你的问题解决了吗

    评论

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作