Re: [OMPI users] config: gfortran: "could not run a simple Fortran program"

2021-03-08 Thread Jeff Squyres (jsquyres) via users
What is the exact configure line you used to build Open MPI? You don't want to put CC and CXX in a single quoted token. For example, do this: ./configure CC=gcc CXX=g++ ... Don't do this (which is what your previous mail implied you might be doing...?): ./configure "CC=gcc CXX=g++" ... On

Re: [OMPI users] config: gfortran: "could not run a simple Fortran program"

2021-03-07 Thread Anthony Rollett via users
I am embarrassed to admit that I really did have a problem with compiling a simple Fortran program – because of the upgrade to Catalina! When I would try to compile w/ gfortran, I would get errors such as “cannot find -System”. I finally found this website which provided a solution (although I

Re: [OMPI users] config: gfortran: "could not run a simple Fortran program"

2021-03-07 Thread Gilles Gouaillardet via users
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 wrote: > > I am trying to

[OMPI users] config: gfortran: "could not run a simple Fortran program"

2021-03-07 Thread Anthony Rollett via users
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).