зеркало из https://github.com/Azure/azurehpc.git
fix breaking change of impi modules
This commit is contained in:
Родитель
93ab2ce20d
Коммит
04da8ccaca
|
@ -9,21 +9,30 @@ num_ranks=$(wc -l <$PBS_NODEFILE)
|
|||
case $MPI in
|
||||
impi2018)
|
||||
module load mpi/impi
|
||||
source $MPI_BIN/mpivars.sh
|
||||
#source $MPI_BIN/mpivars.sh
|
||||
export I_MPI_FABRICS="shm:ofa"
|
||||
export I_MPI_FALLBACK_DEVICE=0
|
||||
export I_MPI_DEBUG=4
|
||||
mpi_options="-hostfile $PBS_NODEFILE -np $num_ranks"
|
||||
IMB_ROOT=$MPI_BIN
|
||||
if [ -z $MPI_BIN ]; then
|
||||
IMB_ROOT=$I_MPI_ROOT/intel64/bin
|
||||
else
|
||||
IMB_ROOT=$MPI_BIN
|
||||
fi
|
||||
;;
|
||||
impi2019)
|
||||
module load mpi/impi-2019
|
||||
source $MPI_BIN/mpivars.sh -ofi_internal
|
||||
#source $MPI_BIN/mpivars.sh -ofi_internal
|
||||
export I_MPI_FABRICS="shm:ofi"
|
||||
export I_MPI_FALLBACK_DEVICE=0
|
||||
export I_MPI_DEBUG=4
|
||||
export FI_PROVIDER=mlx
|
||||
mpi_options="-hostfile $PBS_NODEFILE -np $num_ranks"
|
||||
IMB_ROOT=$MPI_BIN
|
||||
if [ -z $MPI_BIN ]; then
|
||||
IMB_ROOT=$I_MPI_ROOT/intel64/bin
|
||||
else
|
||||
IMB_ROOT=$MPI_BIN
|
||||
fi
|
||||
;;
|
||||
ompi)
|
||||
module load mpi/hpcx
|
||||
|
|
|
@ -7,23 +7,32 @@ module use /usr/share/Modules/modulefiles
|
|||
case $MPI in
|
||||
impi2018)
|
||||
module load mpi/impi
|
||||
source $MPI_BIN/mpivars.sh
|
||||
#source $MPI_BIN/mpivars.sh
|
||||
export I_MPI_FABRICS="shm:ofa"
|
||||
export I_MPI_FALLBACK_DEVICE=0
|
||||
export I_MPI_DEBUG=4
|
||||
mpi_options="-np 2 -ppn 1"
|
||||
host_option="-hosts"
|
||||
IMB_ROOT=$MPI_BIN
|
||||
if [ -z $MPI_BIN ]; then
|
||||
IMB_ROOT=$I_MPI_ROOT/intel64/bin
|
||||
else
|
||||
IMB_ROOT=$MPI_BIN
|
||||
fi
|
||||
;;
|
||||
impi2019)
|
||||
module load mpi/impi-2019
|
||||
source $MPI_BIN/mpivars.sh -ofi_internal
|
||||
#source $MPI_BIN/mpivars.sh -ofi_internal
|
||||
export I_MPI_FABRICS="shm:ofi"
|
||||
export I_MPI_FALLBACK_DEVICE=0
|
||||
export I_MPI_DEBUG=4
|
||||
export FI_PROVIDER=mlx
|
||||
mpi_options="-np 2 -ppn 1"
|
||||
host_option="-hosts"
|
||||
IMB_ROOT=$MPI_BIN
|
||||
if [ -z $MPI_BIN ]; then
|
||||
IMB_ROOT=$I_MPI_ROOT/intel64/bin
|
||||
else
|
||||
IMB_ROOT=$MPI_BIN
|
||||
fi
|
||||
;;
|
||||
ompi)
|
||||
module load mpi/hpcx
|
||||
|
|
Загрузка…
Ссылка в новой задаче