Skip to content

Commit

Permalink
Fix slurm mpipingpong job templates (#1874)
Browse files Browse the repository at this point in the history
* add missing I_MPI_xxx values for slurm

* add exclusive
  • Loading branch information
xpillons authored Mar 5, 2024
1 parent 785757f commit 2ede563
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#SBATCH -p hpc
#SBATCH -t 5
#SBATCH --export=NONE
#SBACTH --exclusive

source /etc/profile.d/modules.sh
module use /usr/share/Modules/modulefiles
Expand All @@ -13,7 +14,7 @@ module load mpi/impi-2021

export I_MPI_DEBUG=5
export I_MPI_HYDRA_BOOTSTRAP=slurm
#export I_MPI_PORT_RANGE=59000:61000
export I_MPI_PORT_RANGE=59000:61000

echo "Running on $SLURM_NNODES nodes"
mpirun -ppn 1 IMB-MPI1 PingPong
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#SBATCH -p hpc
#SBATCH -t 5
#SBATCH --export=NONE
#SBACTH --exclusive

TYPE=latency

Expand All @@ -24,10 +25,9 @@ module use /usr/share/Modules/modulefiles

module load mpi/impi-2021

#export I_MPI_FABRICS="shm:ofi"
export I_MPI_DEBUG=5
export I_MPI_HYDRA_BOOTSTRAP=slurm
#export FI_PROVIDER=mlx
export I_MPI_PORT_RANGE=59000:61000

IMB_ROOT=$I_MPI_ROOT/bin

Expand Down

0 comments on commit 2ede563

Please sign in to comment.