I don’t have a solution to this but am interested in finding one. There is an issue with some include statements between OneAPI and XCode on MacOS 14.x , at least for C++ (the example below seems to be C?). It appears that many standard headers are not being found.
I did not encounter this problem with OpenMPI, though, since I got stuck at an earlier point. My workaround, OpenMPI 4.1.6, compiled fine. While compiling a different C++ code, these missing headers struck me, too. Many of the include related error messages went away after installing XCode 15.1 beta 2 - however, not all of them. That’s as far as I got … sorry about the experience. Best wishes Volker Volker Blum Vinik Associate Professor, Duke MEMS & Chemistry https://aims.pratt.duke.edu https://bsky.app/profile/aimsduke.bsky.social > On Nov 6, 2023, at 4:25 AM, Christophe Peyret via users > <users@lists.open-mpi.org> wrote: > > Hello, > > I am tring to compile openmpi 5.0.0 on MacOS 14.1 with Intel oneapi Version > 2021.9.0 Build 20230302_000000. > > I enter commande : > > lt_cv_ld_force_load=no ../openmpi-5.0.0/configure > --prefix=$APP_DIR/openmpi-5.0.0 F77=ifort FC=ifort CC=icc CXX=icpc > --with-pmix=internal --with-libevent=internal --with-hwloc=internal > > Then > > make > > And compilation stops with error message : > > /Users/christophe/Developer/openmpi-5.0.0/3rd-party/openpmix/src/util/pmix_path.c(55): > catastrophic error: cannot open source file > "/Users/christophe/Developer/openmpi-5.0.0/3rd-party/openpmix/src/util/pmix_path.c" > # include <sys/statfs.h> > ^ > > compilation aborted for > /Users/christophe/Developer/openmpi-5.0.0/3rd-party/openpmix/src/util/pmix_path.c > (code 4) > make[4]: *** [pmix_path.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 >