OpenMPI 4
root@magi3:/softs/sources# wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.3.tar.gz
Dependencies
root@magi3:/softs/sources# apt-get install libucx-dev libnuma1 libucx0
root@magi3:/softs/itensor-3# ./configure --prefix=/softs/openmpi-4.1.3 --with-slurm --with-pmi=/opt/slurm --without-verbs --enable-mpi-cxx --enable-shared --with-ucx --enable-mpi-fortran
Make
root@magi3:/softs/itensor-3# make && make install
Module file
root@magi3:~# cat /softs/modules/compiled/gcc/10.2.1/openmpi/4.1.3
#%Module1.0
proc ModulesHelp { } {
global dotversion
puts stderr "\topenmpi 4.1.3"
}
module-whatis "openmpi 4.1.3"
prepend-path PATH /softs/openmpi-4.1.3/bin
prepend-path LD_LIBRARY_PATH /softs/openmpi-4.1.3/lib
prepend-path LIBRARY_PATH /softs/openmpi-4.1.3/lib
prepend-path MANPATH /softs/openmpi-4.1.3/man
prepend-path C_INCLUDE_PATH /softs/openmpi-4.1.3/include
prepend-path CPLUS_INCLUDE_PATH /softs/openmpi-4.1.3/include
prepend-path CPATH /softs/openmpi-4.1.3/include
prepend-path OBJC_INCLUDE_PATH /softs/openmpi-4.1.3/include
setenv OMPI_MCA_mca_base_component_show_load_errors 0