Optimization of gfortran for execution speed

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Oct 20 20:05:00 GMT 2005


THOMAS Paul Richard 169137 wrote:
> I have been investigating the relatively poor performance of gfortran for
> some of the Polyhedron Benchmark Tests (www.polyhedron.com).

Great.  Just two remarks:
- dotprod of two one-dimensional arrays should really be expanded inline,
instead of being translated to a function call
- don't forget to check that you don't break stuff like
   a(1:N-1) = a(2:N)

- Tobi



More information about the Fortran mailing list