aaf018
%_openmpi_load \
aaf018
 . /etc/profile.d/modules.sh; \
aaf018
 module load mpi/openmpi-%{_arch}; \
aaf018
 export OMPI_MCA_rmaps_base_oversubscribe=1
aaf018
%_openmpi_unload \
aaf018
 . /etc/profile.d/modules.sh; \
aaf018
 module unload mpi/openmpi-%{_arch};