conquest: explicitly configure the MPI compilers. (#50287)

This commit is contained in:
Rémi Lacroix 2025-05-09 09:58:45 +02:00 committed by GitHub
parent 1a26ec7b8b
commit 2491a9abff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,6 +87,8 @@ def edit(self, spec, prefix):
else:
defs_file = FileFilter("./src/system.make")
defs_file.filter(".*FC=.*", f"FC={spec['mpi'].mpifc}")
defs_file.filter(".*F77=.*", f"F77={spec['mpi'].mpif77}")
defs_file.filter(".*COMPFLAGS=.*", f"COMPFLAGS= {fflags}")
defs_file.filter(".*LINKFLAGS=.*", f"LINKFLAGS= {ldflags}")
defs_file.filter(".*BLAS=.*", f"BLAS= {lapack_ld} {blas_ld}")