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.
Virginia, > To: address@hidden > From: Virginia Norling <address@hidden> > Subject: complilation of netcdf under HP-UX 11.0 > Organization: UCAR/Unidata > Keywords: 200104270121.f3R1LjL05402 The above message contained the following: > I recently compiled and installed netcdf on an N4000-55 machine running > HP-UX 11.0. After a few tweaks it compiled and ran the tests fine. > The install complained about not being able to make netcdf.mod in the > f90 directory so I copied NETCDF.mod to netcdf.mod and after installation > made a symbolic link from NETCDF.mod netcdf.mod (just in case something > is expecting to find NETCDF.mod). > > The biggest worry of the process was the error generated when compiling > netcdfcpp.h: > > Error (future) 370: "netcdfcpp.h", line 360 # The friend declaration is not > in the correct form > for either a function or a class. Perhaps you meant 'friend class NcFile;'. > friend NcFile; > ^^^^^^^^^^^^^^ > > Should the code be changed? Possibly. We have to see if changing it will cause problems with other C++ compilers. In the meantime, this issue has been added to the "known problems" section of the netCDF web page at http://www.unidata.ucar.edu/packages/netcdf/known_problems.html > Thanks for your help - info is appended. > > Virginia Norling. ... Regards, Steve Emmerson <http://www.unidata.ucar.edu>