#!/bin/bash
#SBATCH -J cm4_omp_placement
#SBATCH -D ./
#SBATCH -o ./%x.%j.%N.out   # standard output/error will be written here
#SBATCH --get-user-env
#SBATCH --export=NONE
#SBATCH --clusters=cm4
#SBATCH --partition=cm4_tiny
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=24
#SBATCH --time=00:05:00

module load slurm_setup
module load lrztools/3.0
module list                 # print loaded modules to output

export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
srun placementtest-omp
exit $?                     # return exit code of srun/application