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.
Hi James, Sorry it's taken so long to get back to you. We can't reproduce the problem you are seeing here, because we don't have that compiler version. However, this may help: http://www.pgroup.com/resources/netcdf/netcdf360_pgi60.htm --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu [Edit Ticket Post] E-mail: address@hidden IP: 128.117.156.29 james broermann Posted on: 20070918.1510 MDT Its pg 6.1 and 32 bit. penguin$ uname -a Linux penguin 2.6.15 #2 SMP Tue Jan 24 13:58:22 MST 2006 i686 athlon i386 GNU/Linux penguin$ pgf90 -V pgf90 6.1-1 32-bit target on x86 Linux Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved. penguin$ pgf77 -V pgf77 6.1-1 32-bit target on x86 Linux Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved. penguin$ pgcc -V pgcc 6.1-1 32-bit target on x86 Linux Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved. penguin$ pgCC -V pgCC 6.1-1 32-bit target on x86 Linux Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved. Unidata netCDF Support wrote: > Hi James, > > Yes, the errors your are seeing are bad. > > Are you by any chance using an old (version 5 or earlier) Portland group compiler on a Linux > x86_64 system? If so, there were problems with that compiler that were fixed in later versions, > but that compiled netCDF incorrectly inb earlier versions. > > If not, please supply information about the platform you are running on, aas listed here: > > http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Reporting-Problems.html > > Thanks! > > --Russ > > Russ Rew UCAR Unidata Program > address@hidden http://www.unidata.ucar.edu > > > > Ticket Details > =================== > Ticket ID: AOJ-128968 > Department: Support netCDF > Priority: Normal > Status: Closed > > Making check in f90 make[1]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/f90' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/penguin/james/rafael/netcdf-3.6.2/f90' Making check in fortran make[1]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/fortran' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/penguin/james/rafael/netcdf-3.6.2/fortran' Making check in libsrc make[1]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/libsrc' make t_nc make[2]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/libsrc' source='t_nc.c' object='t_nc-t_nc.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -g -c -o t_nc-t_nc.o `test -f 't_nc.c' || echo './'`t_nc.c /bin/sh ../libtool --tag=CC --mode=link pgcc -g -o t_nc t_nc-t_nc.o libnetcdf.la libtool: link: pgcc -g -o t_nc t_nc-t_nc.o ./.libs/libnetcdf.a make[2]: Leaving directory `/home/penguin/james/rafael/netcdf-3.6.2/libsrc' make check-TESTS make[2]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/libsrc' dimrename: IXX nc_close ret = 0 reopen id = 3 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 PASS: t_nc ================== All 1 tests passed ================== make[2]: Leaving directory `/home/penguin/james/rafael/netcdf-3.6.2/libsrc' make[1]: Leaving directory `/home/penguin/james/rafael/netcdf-3.6.2/libsrc' Making check in nctest make[1]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/nctest' make nctest make[2]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/nctest' source='add.c' object='add.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o add.o add.c source='atttests.c' object='atttests.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o atttests.o atttests.c source='cdftests.c' object='cdftests.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o cdftests.o cdftests.c source='dimtests.c' object='dimtests.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o dimtests.o dimtests.c source='driver.c' object='driver.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o driver.o driver.c source='emalloc.c' object='emalloc.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o emalloc.o emalloc.c source='error.c' object='error.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o error.o error.c source='misctest.c' object='misctest.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o misctest.o misctest.c source='rec.c' object='rec.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o rec.o rec.c source='slabs.c' object='slabs.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o slabs.o slabs.c source='val.c' object='val.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o val.o val.c source='vardef.c' object='vardef.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o vardef.o vardef.c source='varget.c' object='varget.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o varget.o varget.c source='vargetg.c' object='vargetg.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o vargetg.o vargetg.c source='varput.c' object='varput.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o varput.o varput.c source='varputg.c' object='varputg.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o varputg.o varputg.c source='vartests.c' object='vartests.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o vartests.o vartests.c source='vputget.c' object='vputget.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o vputget.o vputget.c source='vputgetg.c' object='vputgetg.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../depcomp \ pgcc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc -g -c -o vputgetg.o vputgetg.c /bin/sh ../libtool --tag=CC --mode=link pgcc -g -L../libsrc -o nctest add.o atttests.o cdftests.o dimtests.o driver.o emalloc.o error.o misctest.o rec.o slabs.o val.o vardef.o varget.o vargetg.o varput.o varputg.o vartests.o vputget.o vputgetg.o -lm ../libsrc/libnetcdf.la libtool: link: pgcc -g -o nctest add.o atttests.o cdftests.o dimtests.o driver.o emalloc.o error.o misctest.o rec.o slabs.o val.o vardef.o varget.o vargetg.o varput.o varputg.o vartests.o vputget.o vputgetg.o -L/home/penguin/james/rafael/netcdf-3.6.2/libsrc -lm ../libsrc/.libs/libnetcdf.a make[2]: Leaving directory `/home/penguin/james/rafael/netcdf-3.6.2/nctest' make check-TESTS make[2]: Entering directory `/home/penguin/james/rafael/netcdf-3.6.2/nctest' Testing V2 API with 2 different netCDF formats. Switching to netCDF classic format. *** Testing nccreate ... ok *** *** Testing ncopen ... ok *** *** Testing ncredef ... ok *** *** Testing ncendef ... ok *** *** Testing ncclose ... ok *** *** Testing ncinquire ... ok *** *** Testing ncsync ... ok *** *** Testing ncabort ... ok *** *** Testing ncdimdef ... ok *** *** Testing ncdimid ... ok *** *** Testing ncdiminq ... ok *** *** Testing ncdimrename ... ok *** *** Testing ncvardef ... ok *** *** Testing ncvarid ... ok *** *** Testing ncvarinq ... ok *** *** Testing ncvarput1 ... ok *** *** Testing ncvarget1 ... ok *** *** Testing ncvarput ... ok *** *** Testing ncvarget ... *** test_slabs: ncvarget got wrong value for point *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value for vector *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=1,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=1,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=1,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=2,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=2,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=2,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=3,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=3,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=3,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=4,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=4,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=4,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=5,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=5,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=1,ii=5,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=1,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=1,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=1,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=1,jj=4 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=2,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=2,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=2,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=2,jj=4 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=3,jj=1 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=3,jj=2 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=3,jj=3 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=3,jj=4 *** test_slabs: ncvarget got wrong value in plane *** idim=0,jdim=2,ii=4,jj=1 ...