hsw24_or_bdw28_nodes.sh 582 Bytes
Newer Older
acloirec's avatar
acloirec committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#SBATCH -J or_hybrid
#SBATCH --ntasks=10
#SBATCH --threads-per-core=1
#SBATCH --cpus-per-task=4
#SBATCH --time=0:30:00
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output or_hybrid.output.slurm.%J

#OR
#SBATCH -C BDW28|HSW24
set -e

export I_MPI_DOMAIN=auto
export I_MPI_PIN_RESPECT_CPUSET=0
export I_MPI_DEBUG=4

#Make sure that OMP_NUM_THREADS = cpus-per-task * KMP_HW_SUBSET
export KMP_HW_SUBSET=1T
export OMP_NUM_THREADS=4
export KMP_AFFINITY=verbose,compact,1,0,granularity=fine

module load intel intelmpi

ulimit -s unlimited

srun ../../../bin/hello_hybrid