.f90 runs slower than .f

Rachel Dowdall Rachel.Dowdall@glasgow.ac.uk
Tue Aug 7 11:02:00 GMT 2012


Oh, that's obvious now you point it out! I get the same times for both 
now, thank you. I guess the reason it worked ok for the Intel compiler 
was differing default levels of optimisation.

Thanks again
Rachel

> Your makefile is broken.
>
> Beside the fact that the `clean' rule doesn't clean executables (I don't
> know whether it is intended) and that the default rule does nothing (it
> "builds" globals.F90), that the files psq.f and psq.f90 have the same
> object file name, the problem here is that psq.f90 is built without
> optimisation.
> If you look at the link commands, you have only two or three object
> files, the rest are source files that are compiled with the link options
> which don't ask for optimisation.
>
> Mikael



More information about the Fortran mailing list