The root cause is configure cannot run a simple Fortran program (see the relevant log below)
I suggest you export LD_LIBRARY_PATH=/share/apps/gcc-5.4.0/lib64:$LD_LIBRARY_PATH and then try again. Cheers, Gilles configure:44254: checking Fortran value of selected_int_kind(4) configure:44281: /share/apps/gcc-5.4.0/bin/gfortran -o conftest -L/share/apps/gcc-5.4.0/lib64 conftest.f90 -lz >&5 configure:44281: $? = 0 configure:44281: ./conftest ./conftest: /usr/lib64/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by ./conftest) configure:44281: $? = 1 configure: program exited with status 1 configure: failed program was: | program main | | open(8, file="conftest.out") | write(8, fmt="(I5)") selected_int_kind(4) | close(8) | | end configure:44303: result: no configure:44314: WARNING: Could not determine KIND value of C_SIGNED_CHAR configure:44316: WARNING: See config.log for more details configure:44318: error: Cannot continue On Sun, Apr 21, 2019 at 9:32 AM Guido granda muñoz via users <users@lists.open-mpi.org> wrote: > > Hello openmpi users, > I recently got an error during the instalation of openmpi-4.0.0. The error > showed up during the configuration. > My configuration options are the following: > $ ./configure > --prefix=/home/guido/libraries/compiled_with_gcc-5.4.0/openmpi-4.0.0 > --enable-fortran=all FC=/share/apps/gcc-5.4.0/bin/gfortran > CC=/share/apps/gcc-5.4.0/bin/gcc CXX=/share/apps/gcc-5.4.0/bin/g++ > CPPFLAGS=-I/share/apps/gcc-5.4.0/include LDFLAGS=-L/share/apps/gcc-5.4.0/lib64 > The gcc version used is : gcc version 5.4.0 > > I got the following error: > > 1) > configure:7047: /share/apps/gcc-5.4.0/bin/gcc -E > -I/share/apps/gcc-5.4.0/include conftest.c > conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory > compilation terminated. > 2) > conftest.c:88:19: fatal error: /cuda.h: No such file or directory > > The full content of my log file can be download from: > > https://pastebin.com/9Gu62FTT?fbclid=IwAR3ajK2-S2t-wzRxBsq1g0_Fw54YC2kr0YwPuxO-xhJKKpb0QEY7uZkpirA > > Information about my system: > > $ uname -a > Linux mouruka.crya.privado 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 > 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux > > I hope you can help me to figure out what is wrong with my configuration > options or if something else > is wrong. I am not an expert so please be answer accordingtly. > > Cheers, > > > -- > Guido > _______________________________________________ > users mailing list > users@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/users _______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users