CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   FORTRAN (https://www.cfd-online.com/Forums/main/7625-fortran.html)

Kevin June 2, 2004 19:21

FORTRAN
 
Hi: I have a question about FORTRAN compiler? WHat compiler is best and fastest, and what compiler is good for debugging? Thank you.

Leo June 3, 2004 00:16

Re: FORTRAN
 
Thats difficult to tell. The following vendors offer some good ones: Sun Intel NAG Lahey

matej June 3, 2004 01:49

Re: FORTRAN
 
Look at the http://www.polyhedron.com/

they have got quite some benchmarks testing speed, debuginess, and other parameters.

The usefullness of compiler differs with platform and OS. We've found out, that for Windows, it's Intel compiler, for Linux its Lahey (taking into account also price).

If you're considering fortran also for user input to one of the CFD commerciall package, check the compiler they support! It will not typically work is another compiler at all.

If you're happy with 77, GNU g77 compiler is quite good and ratio performance/price goes to infinity :o)))

matej

louda June 3, 2004 08:36

Re: FORTRAN
 
Hi, that may depend on your operating system and f77/f95? I have this experience: By far the fastest code produced the f77 by HP on HP-UX 10.?, on the other hand their f90 is realy scrap. F95 by Digital on OSF -- good, but code always crashed when an automatic array was big enough, workaround with allocate/deallocate works. g77 on Linux = forget it. Intel's ifc (f95 compiler) on Linux -- very bugy, they probably don't test it at all. Seems improving, but still is Intel... f95 by NAG on Linux/unix -- by far the best for debugging, most of the work does the switch -C and then watch where it crashes!

Regards, P. Louda

Jim_Park June 3, 2004 08:49

Re: FORTRAN
 
Take a look at www.absoft.com .

Kevin June 3, 2004 10:40

Re: FORTRAN
 
Thank you all for your replies. The OS I use is Linux. I have found out that for debugging Compaq Visual Fortran is best (if there is any version for Linux), and Lahey is cool from speed viewpoint. Is this correct? Thanks..

matej June 4, 2004 01:24

Re: FORTRAN
 
I've found Lahey the fastest from few different compilers. But it was also 2 years ago. New versions, new errors, brand new world...

The final test is always to contact the compiler producer, get a testing demo to test the speed on your code and the level of debuging friendliness. It's worth the money you pay for it.

matej

frank muldoon June 30, 2004 02:57

Re: FORTRAN
 
I find the Intel compiler ~15% faster on my code than any other of (PGI, NAG, Lahey). For debugging I use the Lahey and NAG. Also there is an open source f95 compiler: http://g95.sourceforge.net/


All times are GMT -4. The time now is 06:56.