Closed climbfuji closed 1 year ago
Ouch. That's a mighty patch!
I guess I should update the canonical MAPL spack package once https://github.com/GEOS-ESM/MAPL/pull/2381 is in and put in a fat conflict
for 2.41 and lower. I'm guessing mainline spack would be concerned with patches that large.
Description
There's a PR for
mapl
to add workarounds for knownmpich
bugs: https://github.com/GEOS-ESM/MAPL/pull/2381This PR applies these workarounds to the older
mapl
versions 2.35.2 and 2.40.3 that are/will be used by the UFS Weather Model.I have tested this on Hercules with a
gcc@11.3.1
+mpich@4.1.2
build. I can't tell unfortunately if the patch works as expected. While spack-stack builds fine, the ufs-weather-model doesn't build withmpich@4.1.2
due to the argument mismatch error that we know fromgcc@10:
.Note. I don't intend to send this particular change back to spack develop, it's only for us supporting machines where
openmpi
doesn't work correctly (e.g. MSU Hercules).Issue(s) addressed
Resolves https://github.com/JCSDA/spack-stack/issues/608
Dependencies
n/a
Impact
n/a
Checklist
I have made corresponding changes to the documentation