sst-core icon indicating copy to clipboard operation
sst-core copied to clipboard

OpenMPI 4.1.x does not build with Apple Xcode 15

Open jwilso opened this issue 1 year ago • 0 comments

New Issue for sst-core NOTE: If you are reporting an issue for a specific element library, please submit request in ssts-element repository.

1 - Detailed description of problem or enhancement There is a known issue with OpenMPI 4.1.x when attempting to build with Apple Xcode 15. There is a failure in the initial OpenMPI configuration step. Possibly due to changes in Apple Xcode linker. Issue on open-mpi mailing list 2 - Describe how to reproduce the issue

  • Install Apple Xcode 15 from Apple App Store
  • Obtain OpenMPI 4.1.x tar.gz file and unarchive it
  • Attempt initial configuration of OpenMPI:
$ ./configure --prefix=/usr/local/module-pkgs/mpi/OpenMPI/openmpi-4.1.4_clang-1500.0.40.1

Configure will fail with

...
checking if .note.GNU-stack is needed... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: error: 'conftest.o': Invalid/Unsupported object file format
no
checking suffix for labels... :
checking prefix for global symbol labels... none
configure: error: Could not determine global symbol label prefix

3 - What Operating system(s) and versions MacOS Ventura 13.6

4 - What version of external libraries (MPI, etc.) Xcode 15 (with clang-1500.0.40.1) 5 - Provide sha1 of all relevant SST repositories (sst-core, sst-elements, etc) OpenMPI version 4.1.x

jwilso avatar Sep 28 '23 22:09 jwilso