计算化学公社

 找回密码 Forget password
 注册 Register
Views: 9003|回复 Reply: 10
打印 Print 上一主题 Last thread 下一主题 Next thread

[CP2K] 请教各位大神Centos7.9安装cp2k8.2,elpa编译出问题

[复制链接 Copy URL]

34

帖子

0

威望

1223

eV
积分
1257

Level 4 (黑子)

[root@centos toolchain]# ./install_cp2k_toolchain.sh --with-sirius=no --with-mpich=install --with-cmake=install --with-ptscotch=install --with-pexsi=install --with-superlu=install --with-quip=install --with-plumed=install --with-libint=install --with-cosma=install
WARNING: (./install_cp2k_toolchain.sh, line 327) No MPI installation detected on your system. Ignore this message if you are using Cray Linux Environment
nvcc not found, disabling CUDA by default
Compiling with 8 processes.
==================== Finding GCC from system paths ====================
path to gcc is  /opt/rh/devtoolset-9/root/usr/bin/gcc
path to g++ is  /opt/rh/devtoolset-9/root/usr/bin/g++
path to gfortran is  /opt/rh/devtoolset-9/root/usr/bin/gfortran
Found include directory /usr/include
Found lib directory /usr/lib64
Step gcc took 0.00 seconds.
==================== Getting proc arch info using OpenBLAS tools ====================
OpenBLAS detected LIBCORE = unknown
OpenBLAS detected ARCH    = x86_64
==================== Installing CMake ====================
cmake-3.18.5 is already installed, skipping it.
Step cmake took 0.00 seconds.
==================== Installing MPICH ====================
mpich-3.3.2 is already installed, skipping it.
Step mpich took 0.00 seconds.
==================== Installing OpenBLAS ====================
openblas-0.3.10 is already installed, skipping it.
Step openblas took 0.00 seconds.
==================== Installing FFTW ====================
fftw-3.3.8 is already installed, skipping it.
Step fftw took 0.00 seconds.
==================== Installing LIBINT ====================
libint-2.6.0 is already installed, skipping it.
Step libint took 0.00 seconds.
==================== Installing LIBXC ====================
libxc-5.1.4 is already installed, skipping it.
Step libxc took 0.00 seconds.
Step libsmm took 0.00 seconds.
==================== Installing Libxsmm ====================
libxsmm-1.16.1 is already installed, skipping it.
Step libxsmm took 0.00 seconds.
==================== Installing ScaLAPACK ====================
scalapack-2.1.0 is already installed, skipping it.
Step scalapack took 0.00 seconds.
==================== Installing COSMA ====================
COSMA-2.5.0 is already installed, skipping it.
Step cosma took 0.00 seconds.
==================== Installing ELPA ====================
elpa-2020.11.001.tar.gz is found
patching file nvcc_wrap
Installing from scratch into /opt/cp2k-8.2/tools/toolchain/install/elpa-2020.11.001/cpu
ERROR: (./scripts/stage5/install_elpa.sh, line 110) Non-zero exit code detected.
[root@centos toolchain]# vim scripts/stage5/install_elpa.sh
打开查看,第110行如下图


本人计算小白,还请各位大神多多指教。

313

帖子

0

威望

3951

eV
积分
4264

Level 6 (一方通行)

秦都王城守卫教头

2#
发表于 Post on 2021-7-31 21:33:22 | 只看该作者 Only view this author
Sob老师安装的CP2K 8.1都已经在CentOS 8上编译了,你这8.2也该用CentOS 8或者CentOS Stream吧
用心去观察这纷纷扰扰的红尘

1245

帖子

1

威望

3860

eV
积分
5125

Level 6 (一方通行)

3#
发表于 Post on 2021-7-31 21:36:14 | 只看该作者 Only view this author
先不编译elpa看看

34

帖子

0

威望

1223

eV
积分
1257

Level 4 (黑子)

4#
 楼主 Author| 发表于 Post on 2021-7-31 21:48:43 | 只看该作者 Only view this author
alonewolfyang 发表于 2021-7-31 21:33
Sob老师安装的CP2K 8.1都已经在CentOS 8上编译了,你这8.2也该用CentOS 8或者CentOS Stream吧

谢谢您的回复。就是参考着Sob老师和刘博的,还有Soul的帖子安装的,我这是在Vmware虚拟机中安装的,想先试一下,让后再往服务器上安装,服务器版本就是centos7.9的,安装了Ms,所以就没换Centos8

34

帖子

0

威望

1223

eV
积分
1257

Level 4 (黑子)

5#
 楼主 Author| 发表于 Post on 2021-7-31 21:49:17 | 只看该作者 Only view this author
biogon 发表于 2021-7-31 21:36
先不编译elpa看看

好的,我试试,谢谢您的回复

2425

帖子

1

威望

6196

eV
积分
8641

Level 6 (一方通行)

6#
发表于 Post on 2021-7-31 23:36:57 | 只看该作者 Only view this author
现在流行语, 应该如此表述“官方预编译二进制版本又不是不能用”.

另, 如果是中国网络环境, 请先确保网络正常, 比如可以顺利访问github.
否则部分组件无法正常自动获取, 当然编译失败.

我的签名中有提到另外的解决方案, docker之类的.
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

313

帖子

0

威望

3951

eV
积分
4264

Level 6 (一方通行)

秦都王城守卫教头

7#
发表于 Post on 2021-8-1 08:19:48 | 只看该作者 Only view this author
天然呆 发表于 2021-7-31 21:48
谢谢您的回复。就是参考着Sob老师和刘博的,还有Soul的帖子安装的,我这是在Vmware虚拟机中安装的,想先 ...

我在论坛上看到过有人用7编译了8.2,可以仔细对照并排查;另外我的小服务器装了CentOS 7.2,安装了CP2K7.1,方法也是参考Sob老师和其他资源,这东西多试试问题就解决了
用心去观察这纷纷扰扰的红尘

34

帖子

0

威望

1223

eV
积分
1257

Level 4 (黑子)

8#
 楼主 Author| 发表于 Post on 2021-8-1 09:24:27 | 只看该作者 Only view this author
abin 发表于 2021-7-31 23:36
现在流行语, 应该如此表述“官方预编译二进制版本又不是不能用”.

另, 如果是中国网络环境, 请先确保网 ...

感谢您的回复,网络是正常的。

34

帖子

0

威望

1223

eV
积分
1257

Level 4 (黑子)

9#
 楼主 Author| 发表于 Post on 2021-8-1 09:26:53 | 只看该作者 Only view this author
alonewolfyang 发表于 2021-8-1 08:19
我在论坛上看到过有人用7编译了8.2,可以仔细对照并排查;另外我的小服务器装了CentOS 7.2,安装了CP2K7. ...

感谢您的回复。作为计算小白,确实有很多坑,如果再出问题,我就尝试一下7.1吧。我是先在虚拟机上试水,没问题在往服务器上整。

2425

帖子

1

威望

6196

eV
积分
8641

Level 6 (一方通行)

10#
发表于 Post on 2021-8-1 09:35:36 | 只看该作者 Only view this author
天然呆 发表于 2021-8-1 09:24
感谢您的回复,网络是正常的。

如果网络正常,
官方提供的脚本,直接运行,
等待几个小时,取决于网络速度和机器性能,
就会得到所有的toolchain。

官方的一手手册说明就很棒。
有些二手方案,可能有部分纰漏。
High-Performance Computing for You
为您专属定制的高性能计算解决方案

更多讯息,请访问:
https://labitc.top
http://tophpc.top:8080
电邮: ask@hpc4you.top

34

帖子

0

威望

1223

eV
积分
1257

Level 4 (黑子)

11#
 楼主 Author| 发表于 Post on 2021-8-1 10:00:27 | 只看该作者 Only view this author
abin 发表于 2021-8-1 09:35
如果网络正常,
官方提供的脚本,直接运行,
等待几个小时,取决于网络速度和机器性能,

嗯嗯,谢谢abin老师的指导

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-19 02:49 , Processed in 0.173995 second(s), 23 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list