计算化学公社

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

[GROMACS] 关于gromacs使用GPU的问题?

[复制链接 Copy URL]

86

帖子

0

威望

237

eV
积分
323

Level 3 能力者

请问各位老师、朋友,"关于gromacs使用GPU的问题"。

请问在使用gmx_mpi mdrun -ntomp 20 -nb gpu -v -deffnm npt -gpu_id 01命令时,我想调用两块gpu(id为0和1),报错“gmx_mpi was started with 1 PP MPI process per node, but you provided 2 GPUs”我怎样提高 PP MPI?

报错.png (31.94 KB, 下载次数 Times of downloads: 65)

报错的图片

报错的图片

129

帖子

0

威望

1495

eV
积分
1624

Level 5 (御坂)

2#
发表于 Post on 2018-8-3 18:49:49 | 只看该作者 Only view this author
使用MPI

mpirun -np 2 gmx_mpi mdrun ......

评分 Rate

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

查看全部评分 View all ratings

86

帖子

0

威望

237

eV
积分
323

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2018-8-3 19:13:03 | 只看该作者 Only view this author
beyond 发表于 2018-8-3 18:49
使用MPI

mpirun -np 2 gmx_mpi mdrun ......

非常感谢

4

帖子

0

威望

293

eV
积分
297

Level 3 能力者

4#
发表于 Post on 2019-3-7 15:47:05 | 只看该作者 Only view this author
beyond 发表于 2018-8-3 18:49
使用MPI

mpirun -np 2 gmx_mpi mdrun ......

抱歉我在使用gromacs5.0.7时遇到了同样的问题(超算上自带版本较老),最早也是觉得加 -np 2 就可以,但是加了以后仍然会有同样的错误,不知道是不是版本的问题
Using 1 MPI process
Using 12 OpenMP threads

2 GPUs detected on host gpu01.hpc.pku.edu.cn:
  #0: NVIDIA Tesla P100-PCIE-16GB, compute cap.: 6.0, ECC: yes, stat: compatible
  #1: NVIDIA Tesla P100-PCIE-16GB, compute cap.: 6.0, ECC: yes, stat: compatible

2 GPUs user-selected for this run.
Mapping of GPUs to the 1 PP rank in this node: #0, #1

-------------------------------------------------------
Program gmx_mpi, VERSION 5.0.7
Source code file: /gpfs/share/packages/gromacs/5.0.7-gpu/src/gromacs/gmxlib/gmx_detect_hardware.c, line: 357

Fatal error:
Incorrect launch configuration: mismatching number of PP MPI processes and GPUs per node.
gmx_mpi was started with 1 PP MPI process per node, but you provided 2 GPUs.
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------

我也尝试了不去指定gpu,但是很尴尬的是两个进程都默认使用了gpu0(并且默认每个进程都用了所有的核)

75

帖子

0

威望

655

eV
积分
730

Level 4 (黑子)

5#
发表于 Post on 2020-3-6 00:25:47 | 只看该作者 Only view this author
这个问题现在也深深的困扰着我,一些计算机上的名词搞不懂什么意思,试了一堆不是报错就是各种提示

49

帖子

0

威望

93

eV
积分
142

Level 2 能力者

6#
发表于 Post on 2024-12-11 11:28:13 | 只看该作者 Only view this author
beyond 发表于 2018-8-3 18:49
使用MPI

mpirun -np 2 gmx_mpi mdrun ......

完整的命令应该是什么呢?

本版积分规则 Credits rule

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

GMT+8, 2025-8-17 12:17 , Processed in 0.340360 second(s), 30 queries , Gzip On.

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