This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Richard, > To: address@hidden > From: Richard Anyah <address@hidden> > Subject: UDUNITS > Organization: North Carolina State University > Keywords: 200307021714.h62HEZLd014754 The above message contained the following: > I have custom-installed UDUNITS LIB in an IBM computer( NCAR's > Blackforest), but while I do not get any error during installation, when > I include the udunits.inc I get the errors pointing to the following > parts of the udunits.inc: > > > # ifndef PTR > # define PTR integer > # endif > .. > PTR utmake > ... > integer uttime What do you mean that you "get the errors pointing to the following parts of the udunits.inc"? The routine utmake() returns a pointer to a newly-allocated unit structure. The receiving Fortran variable must be large enough to hold this pointer. It sounds like the definition of PTR is insufficient for the task. What Fortran primitive type is equivalent to a C pointer on Blackforest? Regards, Steve Emmerson