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,

> I switched to gcc and used the following configure. I didn't realize the
> enable switches are ignored during the build process.
> 
> ./configure --prefix=/var/local/udunits --enable-f77 --enable-f90
> CPPFLAGS=-Df2cFortran
> 
> The udunits built successfully and most of all I got rid of the syntax
> error problem during execution.

That's a pleasant surprise.

> However, a "double" field in the netcdf
> file would not be read in correctly by my program. So, I used gcc and
> ifort and remade the netcdf libraries as well. I am not sure this was
> needed because that didn't fix this "double" problem either. Once I
> declared the variable I was reading in as real*8 in my fortran program
> this got fixed. The PGI compilers didn't require such declarations.
> 
> I am finally able to read the files I used to read routinely.

Great!

It would appear, therefore, that the icc(1) compiler is suspect.

> Thanks for all your help,

Hey, *you* solved the problem.

> 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