Beispiel OpenMP

#!/bin/bash
#SBATCH -J <job_name>
#SBATCH --mail-type=ALL
# Please use the complete path details:
#SBATCH -e /home/<username>/<project_name>/job_name.err.%j
#SBATCH -o /home/<username>/<project_name>/job_name.out.%j
#
#SBATCH -n 1       # 1 process
#SBATCH -c 16       # 16 cores per process
#SBATCH --mem-per-cpu=1750    # Main memory in MByte for each cpu core
#SBATCH -t 01:30:00     # Hours and minutes, or '#SBATCH -t 10' - only minutes


# -------------------------------
# Afterwards you write your own commands, e.g.
module load gcc
cd /home/<username>/<project_name>
# Specification from OMP_NUM_THREADS can be omitted
./<program>  <parameter>
...