rsnt_translations
53,464
edits
(Created page with "Le script pour soumettre une tâche sur GPU doit contenir ce qui suit :") |
No edit summary |
||
Line 179: | Line 179: | ||
Le script pour soumettre une tâche sur GPU doit contenir ce qui suit : | Le script pour soumettre une tâche sur GPU doit contenir ce qui suit : | ||
{{File | {{File | ||
|name=large_gpu_job.sh | |name=large_gpu_job.sh | ||
Line 187: | Line 186: | ||
#SBATCH --nodes=1 | #SBATCH --nodes=1 | ||
#SBATCH --ntasks=1 | #SBATCH --ntasks=1 | ||
#SBATCH --cpus-per-task= | #SBATCH --cpus-per-task=6 # There are 24 CPU cores on Cedar GPU nodes, up to 6 per GPU | ||
#SBATCH --gres=gpu:lgpu: | #SBATCH --gres=gpu:lgpu:1 # Ask for 1 GPU per node of the large-gpu node variety | ||
#SBATCH --time=0-00:10 | #SBATCH --time=0-00:10 | ||
hostname | hostname | ||
nvidia-smi | nvidia-smi | ||
}} | }} | ||
The job submission script for a whole-node (4 GPUs) job should have the contents | The job submission script for a whole-node (4 GPUs) job should have the contents |