Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #QKV-165487]: udunits 1.12.4 bus error



Yolande,

> ok, I'm assuming there is a debug option for the configure command??

Set the CFLAGS environment variable to "-g" before executing the
"configure" script.  A standard-shell example for you would be

CFLAGS=-g CPPFLAGS=-Df2cFortran ./configure ... >configure.log 2>&1

If you don't want the Perl interface, then also set the PERL
environment variable to the empty string.

> also, what is strange is that when I compile and run other code I
> have that calls utcaltime I do not get an error.

I take it that this other code is written in Fortran and includes the
same "udunits.inc" file.  That is odd.

> if this is the case,
> do you think it is still necessary to rebuild udunits (which I was
> barely able to pull off).

I'm afraid so.

> I've checked and in both FORTRAN codes the
> first argument is a double precision variable (even though the
> udunits.inc suggests it should be a real).

That suggestion is a mistake.  I've corrected it.

> All other arguments are of
> the same type as well. There seems to be a sizeof() option for my gnu
> FORTRAN compiler but I can't get it to work...
> 
> thanks, Yolande

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: QKV-165487
Department: Support UDUNITS
Priority: Normal
Status: On Hold


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690