Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
support
hello_world
Commits
b7741203
Commit
b7741203
authored
Mar 08, 2018
by
hautreux
Browse files
or added, xor & and are not useful for omp
parent
6ab1f71e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test_scripts/frioul/omp/flat_or_cache.sh
0 → 100644
View file @
b7741203
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment