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.
>Organization: CU >Keywords: 199412152251.AA26358 netCDF IRIX 6.0 Hi Yuanzheng, > We installed netcdf on our sun system. When I try install it on our > SGI system(IRIX 6.0), it does not work. There is no error message at > 'make all', but at 'makr test', I obtain fellowing message: > > - ------------------------------------------------------------------------- > making `test' in directory /usr/local/netcdf-2.3.2/xdr > > ./xdrtest > xdrtest_out.new > Assertion failed: xdr_setpos(xdrs, seeks[jj]), file xdrtest.c, line 169 > *** Error code 134 (bu21) > > make: fatal error. > *** Error code 1 (bu21) > > make: fatal error. > > - -- ---------------------------------------------------------------------- > > What is the problem? Does netcdf run on IRIX 6.0? We only have IRIX 5.2 here, and it builds and tests fine on that platform, with `configure', `make', `make test', and `make install'. Since we don't have access to IRIX 6.0, we can't duplicate your problem, but one thing to check is that configure does the right thing on your system. In particular, it needs to find the system XDR library and use it (-lsun on IRIX 5.2) rather than building in the netcdf/xdr subdirectory. If SGI has changed the location of the XDR library to someplace not found by our `configure' command, that would explain the errors you are seeing. Please let us know if you find that this is the case. -- Russ Rew UCAR Unidata Program address@hidden P.O. Box 3000 http://www.unidata.ucar.edu/ Boulder, CO 80307-3000