计算化学公社

标题: GMX报错提示CUDA error #700 [打印本页]

作者
Author:
社会主义小战士    时间: 2024-3-24 22:09
标题: GMX报错提示CUDA error #700
各位前辈好!

最近在用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.
——————————————————————————————————————————————————
这个问题该咋解决呢?
谢谢。


作者
Author:
sobereva    时间: 2024-3-25 12:37
先确保CPU版能正常跑,如果能,改成2023版再试
作者
Author:
ALONE2024    时间: 2024-12-15 18:31
你好,我也遇到了这个问题,请问你解决了吗
作者
Author:
eniac    时间: 2024-12-25 10:50
ALONE2024 发表于 2024-12-15 18:31
你好,我也遇到了这个问题,请问你解决了吗

请问你解决了吗?我使用的是GROMACS 2024,显卡是4090,运行mdrun报错Unexpected cudaStreamQuery failure. CUDA error #700 (cudaErrorIllegalAddress): an illegal memory access was encountered.
作者
Author:
杨淋锋    时间: 2025-4-29 17:39
eniac 发表于 2024-12-25 10:50
请问你解决了吗?我使用的是GROMACS 2024,显卡是4090,运行mdrun报错Unexpected cudaStreamQuery failur ...

请问你解决了吗?

作者
Author:
RiverJoy    时间: 2025-4-30 15:14
能量最小化时,调整一下emtol,设的更大一些试试
作者
Author:
eniac    时间: 2025-7-3 10:22
杨淋锋 发表于 2025-4-29 17:39
请问你解决了吗?

换GROMACS 2022版本的
作者
Author:
tptp    时间: 2025-7-11 00:08
这个报错信息有可能是你体系的问题,并不完全是硬件带来的问题
作者
Author:
kissw    时间: 2025-7-11 11:12
同意社长观点,cuda报错很难看出来什么,最好在cpu下看,另外GROMACS在编译的时候应当有开启debug之类的选项




欢迎光临 计算化学公社 (http://ccc.keinsci.com/) Powered by Discuz! X3.3