openmpi/macros.openmpi

8 lines
204 B
Plaintext
Raw Permalink Normal View History

2009-09-11 18:04:04 +00:00
%_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};