openmpi/macros.openmpi
Petr Šabata a954425021 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/openmpi#5707e44d8db28794ea2a4b74efcb8dd5b6316d38
2020-10-15 22:21:21 +02:00

8 lines
218 B
Plaintext

%_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};