Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mpi bootstrap wth slurm option #1862

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions playbooks/files/ood_templates/slurm/impi_pingpong/pingpong.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ module use /usr/share/Modules/modulefiles

module load mpi/impi-2021

export I_MPI_DEBUG=5
export I_MPI_HYDRA_BOOTSTRAP=slurm
#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 @@ -26,6 +26,7 @@ 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

IMB_ROOT=$I_MPI_ROOT/bin
Expand Down