This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: etime


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]