I am trying to compile a big solver using a makefile. When typing make, the following command gets executed:
mpif90 -O2 -fpp -I/somePath/ -c precision.F90
I get the following error:
gfortran: error: unrecognized command line option ‘-fpp’
I typed which mpif90
to see where it is pointing to:
/usr/local/intel14/impi/4.1.3.048/intel64/bin/mpif90
I tried to manually enter the command to make sure it did not have anything to do with the makefile
and I got the same error. Why is gfortran
being called? It must be some linking error but I can't figure it out.
/usr/local/intel14/impi/4.1.3.048/intel64/bin/mpif90 -v
return? – Apostatizempiifort
instead ofmpif90
. – Axenic