“第10届量子化学波函数分析与Multiwfn程序培训班将于5月4-8日于北京举办,这是一次性完整、系统学习波函数分析的各种理论知识和全面掌握强大的Multiwfn波函数分析程序使用的最不可错过的机会!请点击此链接查看详情和报名方式,欢迎参加!

“第18届北京科音分子动力学与GROMACS培训班” 将于5月23-26日于北京举办。这是一次性全面、系统学习分子动力学模拟知识和最流行的分子动力学程序GROMACS的关键机会!报名正在进行中,请点击此链接查看详情,欢迎参加!

计算化学公社

 找回密码 Forget password
 注册 Register
Views: 1221|回复 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 能力者

命令提交如下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版就出现这问题了

本版积分规则 Credits rule

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

GMT+8, 2026-4-21 13:54 , Processed in 0.196553 second(s), 26 queries , Gzip On.

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