-
Hello! I am trying to simulate active polymers using HOOMD-blue. To apply the active forces i am using the hoomd.md.force.Custom() object. when running the code locally on CPU everything works fine. To run the code remotely on a supercomputer I am using the singularity container I recently downloaded from "https://glotzerlab-software.readthedocs.io/en/latest/container.html". When I use this image to run my simulation on the supercomputer's CPU, everything is working fine too. However, problems arise when I try to use the supercomputer's GPU. When I want to use this GPU I keep getting the following error:
The last line of code of my own files in this error is the "dev_indices = snapshot.particles.rtag[motor_indices]" in the MolecularMotors.py file. Do you know what is causing this problem? I'm getting the idea that it might be an error in the singularity container. Thank you in advance! A reduced script that reproduces the error: NOTE:
With the script It says that it cannot access the GPU force arrays outside the context managers. But i am not accessing it outside the context manager. I hope i cleary presented the problem. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The I will rebuild the image against CUDA 11.8 later today. However, I would suggest that you use the conda package instead. Problems like the one you report are less likely to occur with a package that runs directly on the host. The Due to numerous issues like this, I have deprecated the glotzerlab-software container builds and will no longer update them after June 1, 2024. I have replaced these with conda recipes that allow you to locally build a |
Beta Was this translation helpful? Give feedback.
The
glotzerlab/software:nompi
containers were built against CUDA 11.2 which does not containlibnvrtc.so.11.1
: https://github.com/glotzerlab/software/blob/5b191b849c0ef2c543d6711fbe0a94c4ac33da0c/make_dockerfiles.py#L41I will rebuild the image against CUDA 11.8 later today. However, I would suggest that you use the conda package instead. Problems like the one you report are less likely to occur with a package that runs directly on the host. The
hoomd
package onconda-forge
offers the same capabilities as thenompi
container, is easier to install, manage custom software environments, and update.Due to numerous issues like this, I have deprecated the glotzerlab-software container builds a…