This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: etime
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: François-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- Cc: fortran at gcc dot gnu dot org
- Date: Wed, 22 Sep 2004 17:51:35 +0200
- Subject: Re: etime
- References: <41519B40.5080400@lcp.u-psud.fr>
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
- References:
- etime
- From: François-Xavier Coudert