mpich/mpich.macros
2013-07-19 12:31:27 -04: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};