Commit 396e42fd authored by hautreux's avatar hautreux
Browse files

Merge branch 'structure_modification' into dev

restructuration
parents d2dc2ab7 a62d2371
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#SBATCH --ntasks-per-node=4 #SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=17 #SBATCH --cpus-per-task=17
#SBATCH --time=0:40:00 #SBATCH --time=0:40:00
#SBATCH -C quad,cache|quad,flat #SBATCH -C quad,cache
#SBATCH --exclusive #SBATCH --exclusive
#SBATCH --mem=50GB #SBATCH --mem=50GB
#SBATCH --output hybrid.output.slurm #SBATCH --output hybrid.output.slurm
...@@ -26,5 +26,5 @@ ulimit -s unlimited ...@@ -26,5 +26,5 @@ ulimit -s unlimited
rm -f *.out rm -f *.out
srun ../../bin/hello_hybrid srun ../../../bin/hello_hybrid
#!/bin/bash
#SBATCH -J hybrid
#SBATCH --nodes=7
#SBATCH --ntasks=28
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=17
#SBATCH --time=0:40:00
#SBATCH -C quad,flat
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output hybrid.output.slurm
set -e
export I_MPI_DOMAIN=auto
export I_MPI_PIN_RESPECT_CPUSET=0
#Make sure that OMP_NUM_THREADS = cpus-per-task * KMP_HW_SUBSET
export KMP_HW_SUBSET=1T
export OMP_NUM_THREADS=17
export KMP_AFFINITY=compact,1,0,granularity=fine
module load intel intelmpi
ulimit -s unlimited
rm -f *.out
srun ../../../bin/hello_hybrid
#!/bin/bash
#SBATCH -J mpi
#SBATCH --nodes=7
#SBATCH --ntasks=476
#SBATCH --ntasks-per-node=68
#SBATCH --cpus-per-task=1
#SBATCH --time=0:40:00
#SBATCH -C quad,cache
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output mpi.output.slurm
set -e
export I_MPI_DOMAIN=auto
export I_MPI_PIN_RESPECT_CPUSET=0
module load intel intelmpi
ulimit -s unlimited
srun ../../../bin/hello_mpi
...@@ -20,6 +20,6 @@ module load intel intelmpi ...@@ -20,6 +20,6 @@ module load intel intelmpi
ulimit -s unlimited ulimit -s unlimited
srun ../../bin/hello_mpi srun ../../../bin/hello_mpi
...@@ -9,13 +9,6 @@ ...@@ -9,13 +9,6 @@
#EXPLICIT AND #EXPLICIT AND
#SBATCH -C [quad,flat*4&quad,cache*3] #SBATCH -C [quad,flat*4&quad,cache*3]
#EXCLUSIVE OR
#SBATCH --constraint=[flat|cache]
#OR
#SBATCH -C flat|cache
#SBATCH --exclusive #SBATCH --exclusive
#SBATCH --mem=50GB #SBATCH --mem=50GB
#SBATCH --output mpi.output.slurm #SBATCH --output mpi.output.slurm
...@@ -30,6 +23,6 @@ module load intel intelmpi ...@@ -30,6 +23,6 @@ module load intel intelmpi
ulimit -s unlimited ulimit -s unlimited
srun ../../bin/hello_mpi srun ../../../bin/hello_mpi
#!/bin/bash
#SBATCH -J mpi
#SBATCH --nodes=7
#SBATCH --ntasks=476
#SBATCH --ntasks-per-node=68
#SBATCH --cpus-per-task=1
#SBATCH --time=0:40:00
#OR
#SBATCH -C flat|cache
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output mpi.output.slurm
set -e
export I_MPI_DOMAIN=auto
export I_MPI_PIN_RESPECT_CPUSET=0
module load intel intelmpi
ulimit -s unlimited
srun ../../../bin/hello_mpi
#!/bin/bash
#SBATCH -J mpi
#SBATCH --nodes=7
#SBATCH --ntasks=476
#SBATCH --ntasks-per-node=68
#SBATCH --cpus-per-task=1
#SBATCH --time=0:40:00
#EXCLUSIVE OR
#SBATCH --constraint=[flat|cache]
#SBATCH --exclusive
#SBATCH --mem=50GB
#SBATCH --output mpi.output.slurm
set -e
export I_MPI_DOMAIN=auto
export I_MPI_PIN_RESPECT_CPUSET=0
module load intel intelmpi
ulimit -s unlimited
srun ../../../bin/hello_mpi
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#SBATCH --ntasks-per-node=1 #SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=68 #SBATCH --cpus-per-task=68
#SBATCH --time=0:40:00 #SBATCH --time=0:40:00
#SBATCH -C quad,cache|quad,flat #SBATCH -C quad,cache
#SBATCH --exclusive #SBATCH --exclusive
#SBATCH --mem=50GB #SBATCH --mem=50GB
#SBATCH --output omp.output.slurm #SBATCH --output omp.output.slurm
...@@ -23,6 +23,6 @@ ulimit -s unlimited ...@@ -23,6 +23,6 @@ ulimit -s unlimited
rm -f *.out rm -f *.out
srun ../../bin/hello_omp srun ../../../bin/hello_omp
#!/bin/bash
#SBATCH -J omp
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=68
#SBATCH --time=0:40:00
#SBATCH -C quad,flat
#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=1T
export OMP_NUM_THREADS=68
export KMP_AFFINITY=compact,1,0,granularity=fine
module load intel
ulimit -s unlimited
rm -f *.out
srun ../../../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