LWN.net Logo

Advertisement

MultiTail allows you to monitor logfiles and command output in multiple windows in a terminal, colorize, filter & merge.

Advertise here

Continuity problems

Continuity problems

Posted Mar 23, 2012 17:56 UTC (Fri) by khim (subscriber, #9252)
In reply to: Continuity problems by daglwn
Parent article: GCC celebrates 25 years with the 4.7.0 release

They may be faster (in some cases… it all depends on the code in question very much), but as far as “better standards support”… let's check: Intel compiler - 17 “N/A” out of 39 (vs 4 “N/A” out of 39 for GCC), the PGI compiler and Pathscale are not even mentioned.

These three compilers have much better Fortran strandards support, but this is another kettle of fish: Fortran was always quite weak in GCC because GCC is primarily C and C++ compiler.


(Log in to post comments)

Continuity problems

Posted Mar 23, 2012 18:27 UTC (Fri) by stevenb (guest, #11536) [Link]

Do you have a something to support the "much better Fortran support" comment? I don't think that comment is justified.

My impression is that GFortran is no worse than those 3 compilers, or any other available Fortran compiler. One popular Fortran benchmark (Polyhedron) supports that impression, see:

http://www.polyhedron.com/pb05-linux-language0html
http://www.polyhedron.com/pb05-linux-diagnose0html

Note they're comparing the latest Inter Fortran compiler (v11) to a 3 year old GFortran (v4.4). GFortran in more recent GCC releases has further improved significantly. (NB, Lahey and Absoft are Open64-based, like PathScale).

Also performance wise GFortran isn't so bad, and still improving. See:

http://www.polyhedron.com/pb05-linux-f90bench_AMD0html (v4.1, poor)
http://polyhedron.com/pb05-lin64-f90bench_SBhtml (v4.4, reasonable)
http://users.physik.fu-berlin.de/~tburnus/gcc-trunk/bench... (v4.7, great)

Continuity problems

Posted Mar 23, 2012 19:51 UTC (Fri) by daglwn (subscriber, #65432) [Link]

Does gfortran support Co-Array Fortran? I think it may support a limited form (intra-node only). I'm fuzzy on the details.

Certainly gfortran is improving but I wouldn't call it up to the same level of standards support as other Fortran compilers.

Continuity problems

Posted Mar 23, 2012 20:59 UTC (Fri) by khim (subscriber, #9252) [Link]

My impression is that GFortran is no worse than those 3 compilers, or any other available Fortran compiler. One popular Fortran benchmark (Polyhedron) supports that impression, see:

http://www.polyhedron.com/pb05-linux-language0html
http://www.polyhedron.com/pb05-linux-diagnose0html

Have you actually looked on the links you've provided? Just count “Yes” and “No”.

GFortran is much better then it was just a few years ago but it's still far behind other implementations. Almost as much as C++11 support is ahead of the others.

Continuity problems

Posted Mar 29, 2012 11:34 UTC (Thu) by David.Duffy (subscriber, #63252) [Link]

FWIW, for my code with Fortran 2003 features (73000 loc stats package), the executable GFortran produces is significantly faster than from the other 5 compilers I use.

Continuity problems

Posted Mar 23, 2012 19:52 UTC (Fri) by daglwn (subscriber, #65432) [Link]

Fair enough WRT C++-11. I don't know where PGI or Pathscale fits in there. I'll bet they use the EDG frontend and will get support whenever it is ready from EDG.

Continuity problems

Posted Mar 24, 2012 7:13 UTC (Sat) by codestr0m (guest, #75719) [Link]

For the record - PathScale EKOPath 5 will use a clang based FE for C and C++. We may have some C++11 in the initial release, but it's more likely to come in an update.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds