计算化学公社

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

[GROMACS] GMX报错提示CUDA error #700

[复制链接 Copy URL]

223

帖子

1

威望

1221

eV
积分
1464

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
各位前辈好!

最近在用GROMACS做一个小分子的溶液模拟。
但是使用GPU加速时,总是报错提示CUDA 700 error。

GMX版本2024,显卡 RTX 4070
——————————————————————————————————————————————————
以下是控温和控压设置:
; Temperature coupling is on
tcoupl                      = V-rescale             ; More accurate thermostat
tc-grps                      = System                ; three coupling groups - more accurate
tau_t                              = 0.5                          ; time constant, in ps
ref_t                              = 300                          ; reference temperature, one for each group, in K
; Pressure coupling is on                             
pcoupl                      = C-rescale             ; Pressure coupling on in NPT
pcoupltype                      = isotropic             ; uniform scaling of x-y box vectors, independent z
tau_p                      = 10.0                      ; time constant, in ps
ref_p                              = 1.0                          ; reference pressure, x-y, z (in bar)
compressibility         = 4.5e-5                ; isothermal compressibility, bar^-1

——————————————————————————————————————————————————
以下是报错信息:
Program:     gmx mdrun, version 2024.1
Source file: src/gromacs/gpu_utils/devicebuffer.cuh (line 111)
Function:    freeDeviceBuffer<gmx::BasicVector<float>*>(gmx::BasicVector<float>**)::<lambda()>

Assertion failed:
Condition: stat == cudaSuccess
Freeing of the device buffer failed. CUDA error #700
(cudaErrorIllegalAddress): an illegal memory access was encountered.
——————————————————————————————————————————————————
这个问题该咋解决呢?
谢谢。

6万

帖子

99

威望

5万

eV
积分
120064

管理员

公社社长

2#
发表于 Post on 2024-3-25 12:37:01 | 只看该作者 Only view this author
先确保CPU版能正常跑,如果能,改成2023版再试
北京科音自然科学研究中心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

1

帖子

0

威望

25

eV
积分
26

Level 2 能力者

3#
发表于 Post on 2024-12-15 18:31:16 | 只看该作者 Only view this author
你好,我也遇到了这个问题,请问你解决了吗

4

帖子

0

威望

21

eV
积分
25

Level 2 能力者

4#
发表于 Post on 2024-12-25 10:50:37 | 只看该作者 Only view this author
ALONE2024 发表于 2024-12-15 18:31
你好,我也遇到了这个问题,请问你解决了吗

请问你解决了吗?我使用的是GROMACS 2024,显卡是4090,运行mdrun报错Unexpected cudaStreamQuery failure. CUDA error #700 (cudaErrorIllegalAddress): an illegal memory access was encountered.

7

帖子

0

威望

165

eV
积分
172

Level 3 能力者

5#
发表于 Post on 2025-4-29 17:39:39 | 只看该作者 Only view this author
eniac 发表于 2024-12-25 10:50
请问你解决了吗?我使用的是GROMACS 2024,显卡是4090,运行mdrun报错Unexpected cudaStreamQuery failur ...

请问你解决了吗?

1

帖子

0

威望

31

eV
积分
32

Level 2 能力者

6#
发表于 Post on 2025-4-30 15:14:50 | 只看该作者 Only view this author
能量最小化时,调整一下emtol,设的更大一些试试

4

帖子

0

威望

21

eV
积分
25

Level 2 能力者

7#
发表于 Post on 2025-7-3 10:22:00 | 只看该作者 Only view this author
杨淋锋 发表于 2025-4-29 17:39
请问你解决了吗?

换GROMACS 2022版本的

28

帖子

0

威望

170

eV
积分
198

Level 3 能力者

8#
发表于 Post on 2025-7-11 00:08:36 | 只看该作者 Only view this author
这个报错信息有可能是你体系的问题,并不完全是硬件带来的问题

5

帖子

0

威望

221

eV
积分
226

Level 3 能力者

9#
发表于 Post on 2025-7-11 11:12:32 | 只看该作者 Only view this author
同意社长观点,cuda报错很难看出来什么,最好在cpu下看,另外GROMACS在编译的时候应当有开启debug之类的选项

本版积分规则 Credits rule

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

GMT+8, 2025-8-12 23:21 , Processed in 0.180318 second(s), 26 queries , Gzip On.

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