Skip to content
Snippets Groups Projects
Commit e0b157f1 authored by Andreas Herten's avatar Andreas Herten
Browse files

Add PizDaint Batch System

parent b9eb1f43
No related branches found
No related tags found
No related merge requests found
......@@ -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
```
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment