diff --git a/Batch-Systems.md b/Batch-Systems.md index 6080e04dc2bbaa78f68b37a946fee4294aaea080..d46059448149d88a21c9218e146ee8874eeeb2ac 100644 --- a/Batch-Systems.md +++ b/Batch-Systems.md @@ -126,3 +126,21 @@ srun ./gpu-prog # Singe program uses MPI, launch with srun * `squeue`: List all unfinished jobs * `squeue -u ME`: List unfinished jobs of user ME * `scancel ID`: Cancel a job with ID + +## Piz Daint + +### Batch Jobs + +``` +#!/bin/bash -l +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=1 +#SBATCH --ntasks-per-core=1 +#SBATCH --cpus-per-task=1 +#SBATCH --constraint=gpu +#SBATCH --time=00:30:00 +#export CRAY_CUDA_MPS=1 +export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK +module load daint-gpu +srun -n $SLURM_NTASKS --ntasks-per-node=$SLURM_NTASKS_PER_NODE -c $SLURM_CPUS_PER_TASK ./cube_cray -p parameter.inp +``` diff --git a/convert2pdf/Batch-Systems.pdf b/convert2pdf/Batch-Systems.pdf index 84f1f1ddb31ffbf9fd04b7eee0a6466128370f1d..f618c9ef598c3201de8d4c96871f7461d7329dfb 100644 Binary files a/convert2pdf/Batch-Systems.pdf and b/convert2pdf/Batch-Systems.pdf differ diff --git a/convert2pdf/all.pdf b/convert2pdf/all.pdf index 29a88495c17651be1311f60acf468e8ef666095a..0e46a60d111e072d79cbf093490669986b3ad227 100644 Binary files a/convert2pdf/all.pdf and b/convert2pdf/all.pdf differ