gfortran not recognising mpi90 flags

 Hi - I thought I'd create a separate topic but I'm not sure the issue is unrelated to the one I had assitance in with this thread:https://bb.cgd.ucar.edu/intel-error-7012-compiler-out-date
Here is a summary of the error in the attached csm_share build log file (not exhaustive):gfortran: error: big_endian: No such file or directory
gfortran: error: byterecl: No such file or directory
gfortran: error: realloc_lhs: No such file or directory
gfortran: error: source: No such file or directory
gfortran: error: minimal: No such file or directory
gfortran: error: unrecognized command line optionThe log suggests that gfortran is having lots of problems interpreting the flags.Elsewhere on the internet, the problem seems to be that mpif90 points to gfortran (confirmed when I enter this command):/cm/shared/apps/intel/compilers_and_libraries/2016.4.258/mpi/intel64/bin/mpif90 -vOutput:Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-5.2.0/configure --prefix=/cm/local/apps/gcc/5.2.0 --enable-languages=c,c++,fortran --with-gmp-include=/root/rpmbuild/BUILD/gcc-5.2.0-obj/../gcc-5.2.0/our-gmp --with-gmp-lib=/root/rpmbuild/BUILD/gcc-5.2.0-obj/../gcc-5.2.0/our-gmp/.libs --with-mpc-include=/root/rpmbuild/BUILD/gcc-5.2.0-obj/../gcc-5.2.0/our-mpc/src --with-mpc-lib=/root/rpmbuild/BUILD/gcc-5.2.0-obj/../gcc-5.2.0/our-mpc/src/.libs --with-mpfr-include=/root/rpmbuild/BUILD/gcc-5.2.0-obj/../gcc-5.2.0/our-mpfr/src --with-mpfr-lib=/root/rpmbuild/BUILD/gcc-5.2.0-obj/../gcc-5.2.0/our-mpfr/src/.libs
Thread model: posix
gcc version 5.2.0 (GCC)is gcc out of date / do I need to make ajustments to the Macros.make file ? Again, your help is much appreciated.Leanne
 

jedwards

CSEG and Liaisons
Staff member
One problem is that you are using the gfortran compiler but the build expected the intel compiler.  Which did you intend?
 

jedwards

CSEG and Liaisons
Staff member
One problem is that you are using the gfortran compiler but the build expected the intel compiler.  Which did you intend?
 
Back
Top