etime

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Wed Sep 22 15:52:00 GMT 2004


François-Xavier Coudert wrote:
> Hello,
> 
> I am trying to use gfortran to compile scientific code (including BLAS, 
> LAPACK and ARPACK packages), but my compilation (using gfortran-20040922) 
> fails at linking:
> 
> undefined reference to `etime_'
> 
> Is there a problem I cannot see, or is ETIME not yet included in gfortran ?

Hm, gfortran has both an etime subroutine and an etime function. I just tried
them, and they work (as documented in the g77 documentation, we don't yet seem
to have our own documentation). There's an issue that I found: if one tries to
use both the function and the subroutine in the same program unit, one gets a
compiler error.

Could you provide some example source code illustrating your problem?

- Tobi



More information about the Fortran mailing list