计算化学公社

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

[CP2K] 求助,按照http://sobereva.com/586中2.2,2.3步骤编译过程遇到问题

[复制链接 Copy URL]

20

帖子

0

威望

140

eV
积分
160

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
本帖最后由 辣辣辣 于 2025-2-16 09:16 编辑

在WIN11的WSL2里的Rocky Linux9系统中编译CP2K时,输入: make -j 16 ARCH=local VERSION="ssmp sdbg psmp pdbg"
报错如下:
Discovering programs ...
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
   ARCHFILE=/home/first/cp2k-2025.1/arch/local.sdbg \
   LIBDIR=/home/first/cp2k-2025.1/lib/local/sdbg/exts/dbcsr \
   OBJDIR=/home/first/cp2k-2025.1/obj/local/sdbg/exts/dbcsr \
   USE_ACCEL="" \
   ACC="" \
   ACCFLAGS=""
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
   ARCHFILE=/home/first/cp2k-2025.1/arch/local.ssmp \
   LIBDIR=/home/first/cp2k-2025.1/lib/local/ssmp/exts/dbcsr \
   OBJDIR=/home/first/cp2k-2025.1/obj/local/ssmp/exts/dbcsr \
   USE_ACCEL="" \
   ACC="" \
   ACCFLAGS=""
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
   ARCHFILE=/home/first/cp2k-2025.1/arch/local.pdbg \
   LIBDIR=/home/first/cp2k-2025.1/lib/local/pdbg/exts/dbcsr \
   OBJDIR=/home/first/cp2k-2025.1/obj/local/pdbg/exts/dbcsr \
   USE_ACCEL="" \
   ACC="" \
   ACCFLAGS=""
make -C /home/first/cp2k-2025.1/exts/dbcsr -f /home/first/cp2k-2025.1/exts/build_dbcsr/Makefile \
   ARCHFILE=/home/first/cp2k-2025.1/arch/local.psmp \
   LIBDIR=/home/first/cp2k-2025.1/lib/local/psmp/exts/dbcsr \
   OBJDIR=/home/first/cp2k-2025.1/obj/local/psmp/exts/dbcsr \
   USE_ACCEL="" \
   ACC="" \
   ACCFLAGS=""
Removing stale archives for sdbg ...
Removing stale archives for ssmp ...
Removing stale archives for pdbg ...
Removing stale archives for psmp ...
Removing stale archives ...
Removing stale archives ...
Removing stale archives ...
Removing stale archives ...
Resolving dependencies for pdbg ...
Resolving dependencies for psmp ...
Resolving dependencies for ssmp ...
Resolving dependencies for sdbg ...
Resolving dependencies ...
Resolving dependencies ...
Resolving dependencies ...
Resolving dependencies ...
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR.  Stop.
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR.  Stop.
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR.  Stop.
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile:198: *** No FYPP submodule available, please read README.md on how to properly download DBCSR.  Stop.
make[3]: *** [/home/first/cp2k-2025.1/exts/build_dbcsr/Makefile:187: libdbcsr] Error 2
make[2]: *** [/home/first/cp2k-2025.1/exts/Makefile.inc:38: dbcsr] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: ssmp] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: psmp] Error 2
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: pdbg] Error 2
make[1]: *** [/home/first/cp2k-2025.1/Makefile:128: sdbg] Error 2
make: *** [Makefile:123: all] Error 2


对此我在/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile中检查了,发现FYPPEXE      := $(TOOLSDIR)/build_utils/fypp/bin/fypp
这也没有问题呀。对应FYPPEXE=/home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/fypp位置是有fypp文件的啊


# /home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/fypp --version
-bash: /home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/fypp: No such file or directory
明明这个位置是一个113KB的fypp文件呀

# cd /home/first/cp2k-2025.1/exts/dbcsr/tools/build_utils/fypp/bin/
# ls
fypp.txt

经查询操作系统中也有FYPP文件,linux中全部FYPP删除后,使用PIP下载FYPP,fypp --vision有信息,/home/first/cp2k-2025.1/exts/build_dbcsr//Makefile对应地址修改,依然出现此问题.

20

帖子

0

威望

140

eV
积分
160

Level 3 能力者

2#
 楼主 Author| 发表于 Post on 2025-2-15 14:56:32 | 只看该作者 Only view this author
本帖最后由 辣辣辣 于 2025-2-16 09:22 编辑

已删贴

20

帖子

0

威望

140

eV
积分
160

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2025-2-15 14:58:58 | 只看该作者 Only view this author
本帖最后由 辣辣辣 于 2025-2-16 09:21 编辑

已删贴

6万

帖子

99

威望

5万

eV
积分
120137

管理员

公社社长

4#
发表于 Post on 2025-2-16 00:00:52 | 只看该作者 Only view this author
有别人回复之前若需要对帖子进行修改、补充,应直接编辑原帖,不要通过回帖进行补充,这点在置顶的新社员必读贴里明确说了。

仔细看此文,把编译细节、环境详细交代清楚
在网上求助计算化学问题的时候必须把问题描述得详细、具体、准确、清楚
http://sobereva.com/620http://bbs.keinsci.com/thread-25787-1-1.html

确保机子通internet、操作系统合适、严格按《CP2K第一性原理程序在Linux中的安装方法》(http://sobereva.com/586)博文的命令编译而没有自由发挥
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

20

帖子

0

威望

140

eV
积分
160

Level 3 能力者

5#
 楼主 Author| 发表于 Post on 2025-2-16 09:22:46 | 只看该作者 Only view this author
sobereva 发表于 2025-2-16 00:00
有别人回复之前若需要对帖子进行修改、补充,应直接编辑原帖,不要通过回帖进行补充,这点在置顶的新社员必 ...

感谢社长提醒,已改正

本版积分规则 Credits rule

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

GMT+8, 2025-8-15 16:59 , Processed in 0.825337 second(s), 20 queries , Gzip On.

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