cc_staff
123
edits
Line 101: | Line 101: | ||
singularity run --nv -B /home -B /scratch rapids.sif /path/to/run_script.sh | singularity run --nv -B /home -B /scratch rapids.sif /path/to/run_script.sh | ||
}} | }} | ||
Where in the example '--nv' is to bind mount the GPU driver on the host to the container, so you can access the GPU device from inside the singularity container. | |||
An example of a job execution script, e.g. ''run_script.sh'', which is a bash script that you would like to run in the container: | An example of a job execution script, e.g. ''run_script.sh'', which is a bash script that you would like to run in the container: |