Commit ea8207cf authored by Caubet Serrabou Marc's avatar Caubet Serrabou Marc

Changes in OpenMPI

parent f3f3a411
......@@ -13,6 +13,8 @@ pbuild::install_docfiles 'AUTHORS' 'LICENSE' 'NEWS' 'README'
pbuild::pre_configure() {
INSTALL_LIBPMIX=false
if [[ -n "${CUDA_VERSION}" ]]; then
pbuild::add_configure_args "--with-cuda=${CUDA_HOME}"
fi
......@@ -40,7 +42,11 @@ pbuild::pre_configure() {
pbuild::add_configure_args "--enable-smp-locks"
elif (( V_MAJOR >= 4 )); then
pbuild::add_configure_args "--enable-mpi-fortran"
pbuild::add_configure_args "--without-verbs"
pbuild::add_configure_args "--without-verbs"
if ${INSTALL_LIBPMIX} ; then
echo "Enabling Install libpmix"
pbuild::add_configure_args "--enable-install-libpmix"
fi
fi
}
......@@ -48,6 +54,7 @@ pbuild::post_install() {
mkdir -p "${PREFIX}/lib/fallback"
local -r binary=$(ls "${PREFIX}"/lib/libmpi.so.*.*.*)
pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libuc[mpst].so'
pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libuct_ib.so.0'
pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libnuma.so'
pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/libibverbs.so'
pbuild::install_shared_libs "${binary}" "${PREFIX}/lib/fallback" '/librdmacm.so'
......
......@@ -15,5 +15,5 @@ openmpi/3.0.5_slurm unstable intel/{15.2,17.4,18.4}
openmpi/3.1.6_slurm stable gcc/{4.9.4,5.5.0,6.5.0,7.5.0,8.4.0,9.3.0}
openmpi/3.1.6_slurm stable intel/{15.2,17.4,18.4,20.1}
openmpi/4.0.3_slurm unstable gcc/{4.9.4,5.5.0,6.5.0,7.5.0,8.4.0,9.3.0}
openmpi/4.0.3_slurm unstable intel/{15.2,17.4,18.4,20.1}
openmpi/4.0.4_slurm unstable gcc/{4.9.4,5.5.0,6.5.0,7.5.0,8.4.0,9.3.0}
openmpi/4.0.4_slurm unstable intel/{15.2,17.4,18.4,20.1}
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