openmpi/macros.openmpi
2009-09-11 18:04:04 +00:00

8 lines
204 B
Plaintext

%_openmpi_load \
. /etc/profile.d/modules.sh; \
module load openmpi-%{_arch}; \
export CFLAGS="$CFLAGS %{optflags}";
%_openmpi_unload \
. /etc/profile.d/modules.sh; \
module unload openmpi-%{_arch};