openmpi/SOURCES/macros.openmpi

8 lines
218 B
Plaintext
Raw Normal View History

2021-11-02 10:42:17 +00:00
%_openmpi_load \
. /etc/profile.d/modules.sh; \
module load mpi/openmpi-%{_arch}; \
export OMPI_MCA_rmaps_base_oversubscribe=1
%_openmpi_unload \
. /etc/profile.d/modules.sh; \
module unload mpi/openmpi-%{_arch};