24小时热门版块排行榜    

查看: 926  |  回复: 2
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

freedom3344

新虫 (小有名气)

[求助] Octopus安装,can not find 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
万分感谢!

@月只蓝 @beefly 发自小木虫Android客户端
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

freedom3344

新虫 (小有名气)

引用回帖:
2楼: Originally posted by 天地源 at 2019-11-15 10:36:00
顶一下

谢谢

发自小木虫Android客户端
3楼2019-11-15 10:53:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答
2楼2019-11-15 10:36:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 环境调剂 +3 晓看天暮看云 2026-03-09 3/150 2026-03-10 00:34 by wdwdoo
[考研] 0817化学工程319求调剂 +5 lv945 2026-03-08 6/300 2026-03-09 22:03 by L135790
[考研] 320材料与化工,求调剂 +11 鹤遨予卿 2026-03-04 13/650 2026-03-09 19:39 by 30660438
[考研] 0703化学求调剂 +4 很老实人 2026-03-09 4/200 2026-03-09 13:38 by macy2011
[基金申请] 第二个面上项目的获批几率如何? +3 wawm9296 2026-03-04 5/250 2026-03-09 13:00 by xujie4132
[考研] 一志愿苏大材料工程专硕293求调剂 +5 钢铁大炮 2026-03-04 5/250 2026-03-09 09:49 by EBSD
[考研] 求0856调剂 +5 小力气珂珂 2026-03-08 5/250 2026-03-09 06:42 by houyaoxu
[考研] 301求调剂 +5 一二LV 2026-03-07 5/250 2026-03-07 22:20 by 18137688336
[考研] 求调剂,不管什么专业,我是可塑造的人才一枚,希望遇到知己老师捞捞我 +4 13102137290 2026-03-06 5/250 2026-03-07 21:21 by lissomchan
[考研] 266材料化工求调剂 +5 哇塞王帅 2026-03-03 5/250 2026-03-06 16:44 by 学员FnSWZj
[考研] 复试调剂 +7 呼呼?~+123456 2026-03-05 10/500 2026-03-06 16:07 by @飒飒飒飒
[考研] 材料与化工304求调剂 +7 邱gl 2026-03-05 10/500 2026-03-06 01:11 by 卷柏卷柏
[考研] 080500材料科学与工程 +13 202114020319 2026-03-03 13/650 2026-03-06 00:29 by wutongshun
[考研] 334求调剂 +6 Trying] 2026-03-05 8/400 2026-03-06 00:16 by wutongshun
[论文投稿] 主编终审卡者不动 100+4 Stray2021 2026-03-03 4/200 2026-03-05 08:04 by bdhaoxiang
[考研] 求调剂 +7 博斯特525 2026-03-04 7/350 2026-03-04 18:09 by houyaoxu
[考研] 085600 材料与化工 298 +14 小西笑嘻嘻 2026-03-03 14/700 2026-03-04 16:23 by sslc1985
[考研] 复试调剂 +4 杰尼龟aaa 2026-03-03 4/200 2026-03-03 23:06 by zhukairuo
[考研] 306求调剂 +7 张张张张oo 2026-03-03 7/350 2026-03-03 21:35 by L135790
[考研] 298求调剂一志愿中海洋 +3 lour. 2026-03-03 3/150 2026-03-03 20:41 by gxg2025
信息提示
请填处理意见