How do I set the correct complier to use the -fastsee option in Fortran? This is the error I’m getting:
Mod5.2.0.0: make -f MakeF90_5.2.0.0
gfortran -fastsse -c src_5.2.0.0/Modtrn.f -o obj90_5.2.0.0/Modtrn.o
f951: error: unrecognized command line option "-fastsse"
make: * [obj90_5.2.0.0/Modtrn.o] Error 1
-fastsseis an optimisation option ofpgf(the Portland Group Fortran Compiler). The executable is typically calledpgf90orpgf95. How to make your build actually use pgf instead of gfortran is specific to build process of the application you are trying to build. (You could trymake FC=pgf90, but that is really a stab in the dark. Better inspect the Makefile and/or installation docs.)