g77, g95, optimization
Steve Kargl
sgk@troutmask.apl.washington.edu
Mon Jun 18 21:11:00 GMT 2007
On Mon, Jun 18, 2007 at 04:43:52PM -0400, Sternbach, William wrote:
>
> 1) What version of g77 do you think has the best optimization?
The last version of gcc that included g77 was 3.4.6. If you
want to stick with g77, then that is your only option. g77
was dropped in the 4.x version of gcc.
> 2) What is the current status of g95 - Is it stable or is it still
> considered beta.
You're sending email to the wrong list if you want help with g95.
See http://gcc.gnu.org/wiki/GFortran
Now, if you want to give gfortran a whirl, you can obtain precompiled
versions from the wiki for various OS/cpu combos.
> 3) I have a PC with an Intel Core 2 Duo E6700 CPU which runs at 2.66
> Ghz.
With gfortran, try "-march=native -O3 -ffast-math -ftree-vectorize
-funroll-loops" I don't normally recommend -ffast-math, but you
asked for the fastest execution (without specifying if you wanted
correct results. :-)
--
Steve
More information about the Fortran
mailing list