计算化学公社

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

[GROMACS] 分享:安装plumed+cp2k+gromacs时遇到的一些坑

[复制链接 Copy URL]

5

帖子

0

威望

60

eV
积分
65

Level 2 能力者

本人在安装plumed+cp2k+gromacs遇到了大量未知问题,特此记录并形成相关文档,帮助后续人员能顺利完成安装。
整体流程如http://bbs.keinsci.com/thread-21783-1-1.html本贴所示,但在实际安装过程中,任然存在不少的坑,让我挣扎了整整三天。相关完善的流程在附件中被展示,希望大家都可以顺利安装

plumed_cp2k_gromacs安装.docx

111.9 KB, 下载次数 Times of downloads: 214

安装文档

评分 Rate

参与人数
Participants 1
eV +5 收起 理由
Reason
sobereva + 5

查看全部评分 View all ratings

126

帖子

3

威望

774

eV
积分
960

Level 4 (黑子)

2#
发表于 Post on 2023-5-11 22:08:07 | 只看该作者 Only view this author
近段时间也正在打算自己手动尝试一边gromacs-cp2k的编译,如果可以的话,咱们可以加联系方式私聊

27

帖子

0

威望

389

eV
积分
416

Level 3 能力者

3#
发表于 Post on 2023-7-20 19:28:11 | 只看该作者 Only view this author
想咨询一下,我按照你的这个流程,提前安装了所有相关软件,然后严格的做下来,最后在编译到100%的地方还是报错如下。看提示适合MPI有关,但我已经提前安装好了MPICH和OPENMPI,不知道还有什么问题。我是在WSL下安装的,请问楼主见没见过这个报错,该如何解决?谢谢!

[100%] Building CXX object src/programs/CMakeFiles/gmx_objlib.dir/gmx.cpp.o
[100%] Building CXX object src/programs/CMakeFiles/gmx_objlib.dir/legacymodules.cpp.o
[100%] Built target gmx_objlib
[100%] Linking CXX executable ../../bin/gmx_d
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_stop':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.F:1166: undefined reference to `mpi_error_string_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_iallgatherv_iv_internal.constprop.0':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:2609: undefined reference to `mpi_iallgatherv_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_iallgatherv_lv_internal.constprop.0':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:2609: undefined reference to `mpi_iallgatherv_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_iallgatherv_dv_internal.constprop.0':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:2609: undefined reference to `mpi_iallgatherv_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_iallgatherv_rv_internal.constprop.0':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:2609: undefined reference to `mpi_iallgatherv_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_iallgatherv_zv_internal.constprop.0':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:2609: undefined reference to `mpi_iallgatherv_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o):/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:2609: more undefined references to `mpi_iallgatherv_' follow
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_type_make_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3974: undefined reference to `mpi_get_address_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_file_read_at_all_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3942: undefined reference to `mpi_file_read_at_all_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_file_read_at_all_cv':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3917: undefined reference to `mpi_file_read_at_all_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_file_write_at_all_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3827: undefined reference to `mpi_file_write_at_all_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_file_write_at_all_cv':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3802: undefined reference to `mpi_file_write_at_all_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_file_write_at_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3770: undefined reference to `mpi_file_write_at_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_file_write_at_cv':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3745: undefined reference to `mpi_file_write_at_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_deallocate_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:4041: undefined reference to `mpi_free_mem_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_allocate_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:4007: undefined reference to `mpi_type_size_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `mp_alloc_mem_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3995: undefined reference to `mpi_alloc_mem_cptr_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_type_indexed_make_c':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3633: undefined reference to `mpi_type_indexed_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3618: undefined reference to `mpi_type_commit_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_rget_cv':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3575: undefined reference to `mpi_rget_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_win_create_cv':
/home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3503: undefined reference to `mpi_win_create_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/src/mpiwrap/message_passing.fypp:3505: undefined reference to `mpi_win_create_'
/usr/bin/ld: /home/fyy/soft/cp2k-2023.1/lib/local/psmp/libcp2k.a(message_passing.o): in function `__message_passing_MOD_mp_irecv_cm4':


微信截图_20230720191603.png (304.08 KB, 下载次数 Times of downloads: 25)

微信截图_20230720191603.png

4

帖子

0

威望

63

eV
积分
67

Level 2 能力者

4#
发表于 Post on 2024-7-10 16:56:53 | 只看该作者 Only view this author
aw10279 发表于 2023-7-20 19:28
想咨询一下,我按照你的这个流程,提前安装了所有相关软件,然后严格的做下来,最后在编译到100%的地方还是 ...

大概率是MPI库指定有问题

4

帖子

0

威望

63

eV
积分
67

Level 2 能力者

5#
发表于 Post on 2024-7-10 16:58:54 | 只看该作者 Only view this author
群主,您好,我成功编译安装了,并且gmx_mpi_d 能正常运行,但是gmx_mpi_d grompp -f em.mdp -p topol.top -c conf.gro -o nma-em.tpr 之后,并没有出现nma-em.inp文件,请问这是怎么回事呢?

本版积分规则 Credits rule

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

GMT+8, 2024-11-24 04:04 , Processed in 0.186362 second(s), 25 queries , Gzip On.

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