Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gfortran: issues to resolve

Status
Not open for further replies.

merton

Programmer
Oct 28, 2009
1
GB
Hi, This is my first post.

I am quite an experienced user of f77 (g77), but I also know f95 which I prefer. However, having converted some of my old codes to f95 I found that the default gfortran compiler was signifcantly slower than g77. As my work is scientic heavy duty simulations of complex reacting flow systems, speed is everything to me so I have kept with g77 so far. But now, I want to try again assuming that in the intervening 2-3 years gfortran must have improved -- I hope.

So, my basic questions are (1) which is the latest and fastest version of gfortran on Linux -- I am using Red Hat Enterprise Linux v.4, on a 64-bit workstation, dual core dual processors? (2) where can I get the free downloads for it? (4) how do I install the new version? (3) Are there better options than gfortran on Linux?

Cheers.
Merton B-)
 
(3) Intel's IVF compiler is the fastest one for both Linux and Windows. Unfortunately it isn't free. They give you one month to evaluate it. You can download it from the Intel Site.
 
Some newer Fortran language features are supported with g77 too, but you need to use the compiler option -ffree-form.
Besides of gfortran you can try g95 too.
 
The newer versions of gfortran/g95 might be faster than the older ones, now that Intel are part of the gcc team. AMD have been part of the gcc team for some time so if you run gfortran/g95 on the equivalent AMD chip, it might be faster.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top