mpich/mpich.macros
Petr Šabata 2135a6386f RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/mpich#b4333cebe467031f7d20f70a53c442cbbca876e9
2020-10-15 20:34:34 +02: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};