#4 Add overscribe environment variable for openmpi 5+
Opened 4 months ago by orion. Modified 4 months ago
rpms/ orion/gromacs openmpi  into  rawhide

file modified
+3 -3
@@ -320,9 +320,9 @@ 

    for mpi in '' mpich openmpi ; do

      test -n "${mpi}" && module load mpi/${mpi}-%{_arch}

      pushd ${mpi:-serial}${p}

-     [[ ${mpi} = openmpi ]] && export OMPI_MCA_rmaps_base_oversubscribe=1

-     %cmake_build --target check

-     [[ ${mpi} = openmpi ]] && unset OMPI_MCA_rmaps_base_oversubscribe

+     [[ ${mpi} = openmpi ]] && export OMPI_MCA_rmaps_base_oversubscribe=1 PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe

+     %cmake_build --target check -v

+     [[ ${mpi} = openmpi ]] && unset OMPI_MCA_rmaps_base_oversubscribe PRTE_MCA_rmaps_default_mapping_policy

      popd

      test -n "${mpi}" && module unload mpi/${mpi}-%{_arch}

    done

no initial comment
Metadata