Reputation: 2487
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
Upvotes: 0
Views: 668
Reputation: 41815
-fastsse
is an optimisation option of pgf
(the Portland Group Fortran Compiler). The executable is typically called pgf90
or pgf95
. 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 try make FC=pgf90
, but that is really a stab in the dark. Better inspect the Makefile and/or installation docs.)
Upvotes: 3
Reputation: 51505
man gcc:
...
-msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4
Upvotes: 0