Speed comparison (AMD64) between sunf95, ifort, gfortran and NAG f95
807575Dec 5 2006 — edited Feb 13 2007Hello,
I compared the current GCC Fortran Compiler (gfortran; 4.3.0-trunk) with the Sunstudio Fortran Compiler (sunf95), the Intel Fortran Compiler (ifort) and the NAG f95 compiler using the Polyhedron Fortran Benchmark suite.
http://physik.fu-berlin.de/~tburnus/gcc-trunk/benchmark/
sunf95 is approximately as fast as ifort, 10% faster than gfortran and 15% faster than NAG f95.
Comparing with the Polyhedron page [which does not state which gfortran version was used and does not include sunf95], sunf95 is about 7% slower than the fastest compilers.
http://www.polyhedron.co.uk/pb05/linux/f90bench_AMD.html
For my compilers, for "fatigue" it is 30% faster than ifort and 60% faster than gfortran. This is quite impressive. On the other hand for gas_dyn it is 35% slower than ifort and 20% than gfortran.
(Which shows that one can not really say, which compiler is the fastest - it really depends also on the program, the platform and the exact compiler options.)
Thanks to Sun for making such a nice compiler available free of charge!
Tobias