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 #NDS-204592]: udunits(3): syntax error:



Daniel,

> > Did you compile the UDUNITS package on the  Ubuntu 8.04 system with the
> > C macro "pgiFortran" defined? >
> 
> Yes. Without the -DpgiFortran flag, some of the functions in the
> library were undefined during link time.

The "pgiFortran" macro told the C compiler to use the Fortran-calling-C 
conventions of the PGI Fortran compiler.  Those conventions *should* be the 
same as the ones of the ifort(1) compiler (at least they were).

Did you call the Fortran function UTOPEN(3f) before you called the function 
UTDEC(3f)?

> Thanks,
> 
> Daniel.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: NDS-204592
Department: Support UDUNITS
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community 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