openmpi/macros.openmpi

8 lines
204 B
Plaintext
Raw Normal View History

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