RuntimeError: parallel_for failed: cudaErrorIllegalAddress: an illegal memory access was encountered

93 views
Skip to first unread message

jude vishnu

unread,
Jul 15, 2022, 1:11:34 PM7/15/22
to hoomd-users
Dear all,
I get the following error when using the fire minimizer (in both hoomd 2.9.6 and 2.9.7).
(Please have a look at the txt file "mini_error" atttached to see the complete error).

I have attached my scrip along with the initial trajectory file which reproduces the error .
Can someone please take a look at this and let me know, what could be the possible reason for such an error.

Regards,
Jude
minscript.py
mini_error
initial.gsd

Joshua Anderson

unread,
Jul 15, 2022, 1:43:53 PM7/15/22
to hoomd...@googlegroups.com
Jude,

This is a known bug in 2.9 and is fixed in 3.0: https://github.com/glotzerlab/hoomd-blue/issues/588
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan

--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/74d0a446-5c21-49c6-873c-228863088aa2n%40googlegroups.com.
<minscript.py><mini_error><initial.gsd>

jude vishnu

unread,
Jul 15, 2022, 2:11:11 PM7/15/22
to hoomd-users
Joshua,
Thank you for your response,i tried running it for a different initial trajectory, and this seem to not happen. Can you let me know why this error is only being triggered in certain cases (Just out of curiosity).
I am attaching the new initial trajectory here.

Regards,
Jude



initial2.gsd

Joshua Anderson

unread,
Jul 15, 2022, 2:30:14 PM7/15/22
to hoomd...@googlegroups.com
The bug in FIRE on the GPU in v2.9 does not depend on the initial condition nor does it depend on how you structure your script. The FIRE energy minimizer always accesses undefined memory in v2.9. These memory accesses may or may not cause an error and may not, but very likely will always give incorrect simulation results. Upgrade to the latest version, v3.3.0 and the FIRE energy minimizer will work correctly on the GPU.

------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan

jude vishnu

unread,
Jul 15, 2022, 3:25:04 PM7/15/22
to hoomd...@googlegroups.com
Thanks Joshua



--
Yours truly,
Jude Ann Vishnu
Reply all
Reply to author
Forward
0 new messages