-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Solution to issue cannot be found in the documentation.
- I checked the documentation.
Issue
For hdf5, we need to build a build time tool with the mpifort and mpicc. Up to now, this works nicely by setting CC_FOR_BUILD/FC_FOR_BUILD to $BUILD_PREFIX/bin/mpicc (mpifort, respectively).
However, with openmpi 5.0.5, these compilers also target the host, i.e. just like the regular $PREFIX/bin/mpicc, they produce osx-arm64 binaries in cross compilation mode, which cannot link with the right library (see here) or fail to execute due to bad cpu type.
I am not 100% sure which change is responsible for this or which version is the last one that worked, but I can say that things worked with openmpi 5.0.3-h324cb95_104 and that I suspect the culprit to be this line.
Installed packages
-Environment info
-