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.
Lianmei, > To: address@hidden > From: Lianmei Gao <address@hidden> > Subject: problem with UDUNITS > Organization: Rosenstiel School of Marine and Atmospheric Science > (RSMAS)/University of Miami > Keywords: 199905241550.JAA27700 In the above message, you wrote: > In the header file udunits.inc and the main program, all pointer variables > are defined as interger*4. I didnot change anything for their use on a DEC > alpha machine. I should have said to change the default definition of PTR in file "lib/udunits.inc" from "integer" to "integer*8" for your system (rather than to "unsigned long" -- which won't compile because it's not Fortran). This assumes that your code includes "udunits.inc" and declares all pointers to be of type PTR. -------- Steve Emmerson <http://www.unidata.ucar.edu>