cc_staff
123
edits
Line 93: | Line 93: | ||
Where '''--nv''' option is to bind mount the GPU driver on the host to the container, so the GPU device can be accessed from inside of the singularity container, and '''-B''' option is to bind mount any file system that you would like to access in the container. | Where '''--nv''' option is to bind mount the GPU driver on the host to the container, so the GPU device can be accessed from inside of the singularity container, and '''-B''' option is to bind mount any file system that you would like to access in the container. | ||
After the shell prompt changes to | After the shell prompt changes to ''Singularity>'', you can check the GPU stats in the container: | ||
<source lang="console">Singularity> nvidia-smi</source> | <source lang="console">Singularity> nvidia-smi</source> | ||