RAPIDS: Difference between revisions

Line 83: Line 83:
==Submit a RAPIDS job to Slurm scheduler==
==Submit a RAPIDS job to Slurm scheduler==
You would need to prepare two script files to submit your RAPIDS code execution to the Slurm queue, i.e. one for job submission script and one for job execution script.
You would need to prepare two script files to submit your RAPIDS code execution to the Slurm queue, i.e. one for job submission script and one for job execution script.
An example of a job submission script, e.g. ''submit.sh''
{{File
  |name=submit.sh
  |lang="sh"
  |contents=
#!/bin/bash
#SBATCH --ntasks=1
#SBATCH --gres=gpu:t4:1
#SBATCH --cpus-per-task=2
#SBATCH --mem=10G
#SBATCH --time=dd:hh:mm
#SBATCH --account=def-someuser
module load singularity
singularity run --nv -B /home -B /scratch rapids.sif /path/to/run_script.sh
}}


=Helpful Links=
=Helpful Links=
cc_staff
123

edits