在centos7.6虚拟机上,直接用目录下的 tools/toolchain/install_cp2k_toolchain.sh脚本可自动安装cp2k6.1, 一切正常。但是用同样的方法安装cp2k7.1,出现了如下错误:
==================== Installing ELPA====================
elpa-2019.05.001.tar.gz: OK
Checksum of elpa-2019.05.001.tar.gz Ok
Installing from scratch into /home/cp2k/cp2k-7.1.0/tools/toolchain/install/elpa-2019.05.001
ERROR: (./scripts/install_elpa.sh, line 103)Non-zero exit code detected.
Step ptscotch took 0.00 seconds.
Step parmetis took 0.00 seconds.
Step metis took 0.00 seconds.
Step superlu took 0.00 seconds.
Step pexsi took 0.00 seconds.
Step quip took 0.00 seconds.
Step plumed took 0.00 seconds.
==================== Installing gsl ====================
打开scripts/install_elpa.sh文件的第103行,是这样的:
make -j $NPROCS ${ELPA_MAKEOPTS}>make.log 2>&1
不知道“Non-zero exit code detected”指什么?怎么修改?
后来手动安装elpa,用下面的指令:
1)wgethttp://elpa.mpcdf.mpg.de/html/Re ... -2019.11.001.tar.gz
2)tar xvf elpa-2019.11.001.tar.gz
3)cd elpa-2019.11.001
4)wget --no-check-certificate https://github.com/hfp/xconfigure/raw/master/configure-get.sh
5)chmod +x configure-get.sh
6)./configure-get.sh elpa
在第4步的时候出错,错误信息如下:
--2020-04-2020:49:55-- https://github.com/hfp/xconfigure/raw/master/configure-get.sh
Resolvinggithub.com (github.com)... 13.229.188.59
Connectingto github.com (github.com)|13.229.188.59|:443... connected.
HTTPrequest sent, awaiting response... 302 Found
Location:https://raw.githubusercontent.co ... er/configure-get.sh [following]
--2020-04-2020:49:56-- https://raw.githubusercontent.co ... er/configure-get.sh
Resolvingraw.githubusercontent.com (raw.githubusercontent.com)... ::1, 127.0.0.1
Connectingto raw.githubusercontent.com (raw.githubusercontent.com)|::1|:443... failed:Connection refused.
Connectingto raw.githubusercontent.com (raw.githubusercontent.com)|127.0.0.1|:443...failed: Connection refused.
后来用“./configure + make install”的模式,configure也出错:
configure:error: could not link with blas: specify path
请教高手,上面这些报错都该怎么解?怎么安装elpa呢?
谢谢。
|