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.
>To: <address@hidden> >From: "Daniela Meloni" <address@hidden> >Subject: problems >Organization: UCAR/Unidata >Keywords: 200108301431.f7UEV8129876 Hi Daniella, > I have problems with the installation of the netCDF package on my > PC. I installed a Cygnus Development Suite (cygwin version 20) and the > egcs version 1.1. > > After following the instructions in the INSTALL file, I found a > problem during the tests. > > I enclose the items as reccomended: ... > Making `test' in directory /cygnus/cygwin-b20/netcdf-3.5.0/src/libsrc > > gcc -c -O -I. -DNDEBUG t_nc.c > ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o > string.o v1hpg.o v2i.o var.o > ranlib libnetcdf.a > gcc -o t_nc -O t_nc.o -L. -lnetcdf > ./t_nc > dimrename: IXX > nc_close ret = 0 > reopen id = 6 for filename test.nc > NC done > GATTR VAR VATTR > VATTR > VATTR > VATTR > VATTR > VATTR > fill_seq indices 1 2 3 75.000000 != 2.718282 > Done > got val = 3.250000 > got val = 0.000000 > got val = 2.718282 > got val = 82555 > got val = 97 > got NC_CHAR val = A (0x41) > got NC_CHAR val = B (0x42) > got NC_CHAR val = "The red death had long devastated the country." > got val = A (0x41) > got val = B (0x42) > got val = "The red death had long devastated the country." > got vals = 0.000000 ... 447.000000 > re nc_close ret = 0 > cmp test.nc test_nc.sav > test.nc test_nc.sav differ: char 1545, line 5 We don't know what causes this problem which appears on some cygwin installations and not on others, see http://www.unidata.ucar.edu/glimpse/netcdf/4199 but it is apparently harmless. If you want to finish with "make test", you can first copy libsrc/test.nc to libsrc/test_nc.sav and then invoke "make test" to make sure all the other tests pass. I'd be interested in getting a copy of your test.nc file; maybe it would help us to diagnose the cause of this problem. I have added a description of the problem to http://www.unidata.ucar.edu/packages/netcdf/known_problems.html#cygwin Thanks for reporting the problem. --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu