Commit b7741203 authored by hautreux's avatar hautreux
Browse files

or added, xor & and are not useful for omp

parent 6ab1f71e
#!/bin/bash
#SBATCH -J omp
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --time=0:40:00
#SBATCH -C flat|cache
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output omp.output.slurm
set -e
#Make sure that OMP_NUM_THREADS = cpus-per-task * KMP_HW_SUBSET
export KMP_HW_SUBSET=2T
export OMP_NUM_THREADS=136
export KMP_AFFINITY=compact,1,0,granularity=fine
module load intel
ulimit -s unlimited
rm -f *.out
srun --cpus-per-task=$SLURM_CPUS_ON_NODE ../../../bin/hello_omp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment