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