Anthony, Did you make sure you can compile a simple fortran program with gfortran? and gcc?
Please compress and attach both openmpi-config.out and config.log, so we can diagnose the issue. Cheers, Gilles On Mon, Mar 8, 2021 at 6:48 AM Anthony Rollett via users <users@lists.open-mpi.org> wrote: > > I am trying to configure v 4.1 with the following, which fails as noted in > the Subject line. > > ./configure --prefix=/Users/Shared/openmpi410 \ > FC=gfortran CC=clang CXX=c++ --disable-static \ > 2>&1 | tee openmpi-config.out > > On a 2019 MacbookPro with 10.15 (but I had the same problem with 10.14). > Gfortran (and gcc) is from High Performance Computing for OSX > > Any clues will be gratefully received! And I apologize if this is a solved > problem ... > Many thanks, Tony Rollett > PS. If I try “CC=gcc CXX=g++” then it fails at the C compilation stage.