计算化学公社

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

[Lammps] 求助:win并行版lammps无法使用gpu:Attempting to use an MPI routine ...

[复制链接 Copy URL]

1

帖子

0

威望

39

eV
积分
40

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
命令提交如下mpiexec -np 4 lmp -in in1.pmf -sf gpu -pk gpu 1
报错信息如下:
--------------------------------------------------------------------------
- Using acceleration for lj/cut/coul/long:
-  with 4 proc(s) per device.
-  with 1 thread(s) per proc.
-  with OpenCL Parameters for: NVIDIA_GPU (203)
-  Horizontal vector operations: ENABLED
-  Shared memory system: No
--------------------------------------------------------------------------
Platform: NVIDIA Corporation NVIDIA CUDA OpenCL 3.0 CUDA 12.4.125
Device 0: NVIDIA GeForce RTX 3080 Ti, 80 CUs, 12 GB, 1.7 GHZ (Mixed Precision)
--------------------------------------------------------------------------

Initializing Device and compiling on process 0...Done.
Initializing Device 0 on core 0...Done.
Initializing Device 0 on core 1...Done.
Initializing Device 0 on core 2...Done.
Initializing Device 0 on core 3...
Attempting to use an MPI routine after finalizing MPI
Attempting to use an MPI routine after finalizing MPI
Attempting to use an MPI routine after finalizing MPI
Attempting to use an MPI routine after finalizing MPI

问题排除:
已安装Microsoft MPI
若只进行并行计算mpiexec -np 4 lmp -in in1.pmf ,可以进行运算

1

帖子

0

威望

169

eV
积分
170

Level 3 能力者

2#
发表于 Post on 2024-5-4 03:02:16 | 只看该作者 Only view this author
我猜是新版lammpsde 缘故,之前用的2023版没问题,更新成2024版就出现这问题了

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

GMT+8, 2026-2-25 10:46 , Processed in 0.174776 second(s), 27 queries , Gzip On.

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