Closed mcgratta closed 5 months ago
FYI I took out OneAPI from the OSX actions file. macos-latest is now an M1 runner. First MKL was crashing with ARM native gcc and openmpi from brew as Kevin shows. Taking the library linking made the intel osx target update and crash when trying to compile openmpi with ifort. I just left the gnu osx target compiling with gcc-openmpi and no mkl.
Sounds reasonable. Thanks @marcosvanella
Sorry for joining the party so late.
As @marcosvanella stated already, the macos-latest
configuration now runs on M1 ARM machines. See also:
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
As far as I know, Intel MKL only runs on x64 architecture, so we are out of luck with ARM machines. https://www.intel.com/content/www/us/en/developer/articles/system-requirements/oneapi-math-kernel-library-system-requirements.html
Similarly, the Intel Fortran compilers do not generate ARM code as far as I know.
We can fall back to a legacy configuration in github-actions that still uses x64 processors by specifying macos-13
. Or no longer care about it (as you already implemented).
Thanks @marcfehling . We care, just lots on the to-do list before we can get an open-source LU solver implemented :)
I just committed code changes to the fds central repository and I received an error from GitHub actions when it tried to compile the osx_gnu_openmpi version. From the link error below, it appears as if the linker is trying to link code compiled on an ARM64 computer with x86 code, like the Intel MKL libraries.