new to gfortran & comparison with g77

François-Xavier Coudert Francois-Xavier.Coudert@lcp.u-psud.fr
Tue Feb 1 17:19:00 GMT 2005


Hi,

>  well I'm new to gfortran and have done some comparisons with g77 on a 
> (Red-Hat)Linux system.

Using your F77 code:

		g77		g77 -O3		gfortran	gfortran -O3
exec. time	3.37s		3.17s		3.54s		3.24s
size (dynamic)	7.6k		7.4k		9.5k		9.2k
size (static)	487k		487k		690k		690k

It appears that the (relative) bloat is in the library (which isn't 
surprising, since we do have F95 intrinsics g77 didn't have). Execution time 
is almost the same. However, note that fine tuning (-march=pentium4 -msse2 
and others, I don't know precisely) reduces this time to 2.9 seconds in my 
case (to be compared with 2.8s for g77).

> My suspicion is that simply loading and handling the gigantic executables 
> (approx 100 times larger than with g77!) requires quite a lot of 
> resources, thus impeding performance...

I don't second that point, see above.

-- 
FX



More information about the Fortran mailing list