mpich/SOURCES/mpich.macros
2021-10-08 13:52:49 +00:00

8 lines
204 B
Plaintext

%_mpich_load \
. /etc/profile.d/modules.sh; \
module load mpi/mpich-%{_arch}; \
export CFLAGS="$CFLAGS %{optflags}";
%_mpich_unload \
. /etc/profile.d/modules.sh; \
module unload mpi/mpich-%{_arch};