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
198871bd
Commit
198871bd
authored
Mar 12, 2018
by
acloirec
Browse files
Merge branch 'add_hybrid' into dev
parents
c94f3825
f4839b85
Changes
3
Hide whitespace changes
Inline
Side-by-side
test_scripts/occigen/hybrid/hsw24_or_bdw28_nodes.sh
0 → 100644
View file @
198871bd
#!/bin/bash
#SBATCH -J or_hybrid
#SBATCH -N 3
#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 HSW24|BDW28
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
export
NCPUS
=
$((
(
$SLURM_CPUS_ON_NODE
/
$OMP_NUM_THREADS
)*
$SLURM_NNODES
))
srun
-n
$NCPUS
../../../bin/hello_hybrid
test_scripts/occigen/hybrid/hsw24_or_bdw28_ntasks.sh
0 → 100644
View file @
198871bd
#!/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
test_scripts/occigen/hybrid/hsw24_xor_bdw28_ntasks.sh
View file @
198871bd
...
...
@@ -18,7 +18,6 @@ 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=$SLURM_CPUS_PER_TASK
export
OMP_NUM_THREADS
=
4
export
KMP_AFFINITY
=
verbose,compact,1,0,granularity
=
fine
...
...
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