计算化学公社

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

[CP2K] 编译CP2K 2025.1出错

[复制链接 Copy URL]

11

帖子

0

威望

349

eV
积分
360

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
本帖最后由 RTChou 于 2025-3-19 16:14 编辑

系统WSL2-Ubuntu 24.04, OpenMPI自行编译4.1.6, 使用命令
./install_cp2k_toolchain.sh --with-mkl=system --with-gcc=system --with-openmpi=system --with-ninja=system --with-libxc=system --with-libint=system --with-libxsmm=system --with-gsl=system --with-spglib=system --with-hdf5=system --with-spfft=system --with-elpa=no --with-sirius=no --with-cmake=system
之后复制arch,source setup文件,在make 一步(make -j 32 ARCH=local VERSION="ssmp psmp"
)出现以下报错:

Discovering programs ...
/home/rtchou/cp2k-2025.1/arch/local.ssmp:13: *** missing separator.  Stop.
make[1]: *** [/home/rtchou/cp2k-2025.1/Makefile:128: ssmp] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/rtchou/cp2k-2025.1/arch/local.psmp:13: *** missing separator.  Stop.
make[1]: *** [/home/rtchou/cp2k-2025.1/Makefile:128: psmp] Error 2
make: *** [Makefile:123: all] Error 2
请问该如何解决?
local.psmp (3.61 KB, 下载次数 Times of downloads: 1) local.ssmp (3.2 KB, 下载次数 Times of downloads: 1)


更新:
重装cp2k无果数次后,我将anaconda3删除并重装cp2k,问题解决




1478

帖子

0

威望

4541

eV
积分
6019

Level 6 (一方通行)

2#
发表于 Post on 2025-3-19 14:15:05 | 只看该作者 Only view this author
本帖最后由 牧生 于 2025-3-19 14:16 编辑

http://sobereva.com/586


各种依赖的库,你全部都用了system,你确定系统已经有了那些吗?

评分 Rate

参与人数
Participants 1
eV +1 收起 理由
Reason
乐平 + 1 我很赞同

查看全部评分 View all ratings

又菜又爱玩

11

帖子

0

威望

349

eV
积分
360

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2025-3-19 15:26:37 | 只看该作者 Only view this author
牧生 发表于 2025-3-19 14:15
http://sobereva.com/586

您好,本博文我看过,除去configure一步均一致。库除了libxc mkl openmpi 其余均为apt安装。并且configure步并未出现未找到库的报错。

136

帖子

0

威望

2432

eV
积分
2568

Level 5 (御坂)

4#
发表于 Post on 2025-3-19 22:33:05 | 只看该作者 Only view this author
RTChou 发表于 2025-3-19 15:26
您好,本博文我看过,除去configure一步均一致。库除了libxc mkl openmpi 其余均为apt安装。并且configur ...

我觉得用apt装的话,估计装的乱七八糟,系统已经没救了,我建议放弃治疗,重装系统吧

本版积分规则 Credits rule

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

GMT+8, 2025-8-14 06:49 , Processed in 0.182216 second(s), 24 queries , Gzip On.

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