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.
>From: "Clay D." <address@hidden> >Organization: University of Virginia >Keywords: 199504051953.AA00424 netCDF AIX string bug Clay, >While installing netCDF on an RS6000, I get the following stop >during make test: > >****begin extract >making `test' in directory /unidata/ldm/netcdf-232pl2/libsrc > > cc -c -DNDEBUG -D_ALL_SOURCE -O cdftest.c > ar rcuv libnetcdf.a array.o attr.o cdf.o dim.o file.o >iarray.o error.o globdef.o putget.o putgetg.o sharray.o string.o >var.o xdrposix.o > ranlib libnetcdf.a >cc -O cdftest.o libnetcdf.a -o cdftest > ./cdftest > cdftest_out.new >ncattget: attribute "TITLE" not found >Assertion failed: file cdftest.c, line 393 >The error code from the last failed command is 1. > >Make Quitting. >The error code from the last failed command is 1. > >Make Quitting. > >*****end extract > >There were no apparent errors during the make all sequence. You will find a reference to a known string bug on AIX platforms in the FAQ for the netCDF that is accessible through the netCDF Homepage: URL: http://www.unidata.ucar.edu/packages/netcdf/faq.html The FAQ describes the solution which turns out to be to turn off optimization for the compiles on the AIX platform. The bug is in the AIX C compiler. Tom Yoksas