[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20031213: Pb installing Netcdf-3.5.0 on HP-UXB.11.11
- Subject: 20031213: Pb installing Netcdf-3.5.0 on HP-UXB.11.11
- Date: Thu, 11 Dec 2003 15:15:58 -0700
Stephane,
>Date: Thu, 11 Dec 2003 18:54:02 +0100
>From: AMANT Stephane <address@hidden>
>Organization: Airbus Industries
>To: "'Steve Emmerson'" <address@hidden>
>Subject: RE: 20031213: Pb installing Netcdf-3.5.0 on HP-UXB.11.11
The above message contained the following:
> Here it is, Steve.
>
> It's late now here, so I have to go. I hope you have enough material to
> debug.
> If not, see you tomorrow ...
>
> Regards,
>
> St=E9phane
...
> Making `all' in directory =
> /home/to30571/NetCDF/netcdf-3.5.0/src/libsrc=0A=
> =0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> attr.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 dim.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> error.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> -DVERSION=3D`cat ../VERSION` libvers.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 nc.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> ncio.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 ncx.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> cc: "ncx.c", line 1231: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "ncx.c", line 1231: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "ncx.c", line 1243: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "ncx.c", line 1243: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "ncx.c", line 1265: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "ncx.c", line 1265: warning 602: Floating constant exceeds its =
> storage. =0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> putget.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> string.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> v1hpg.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 v2i.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 var.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "/usr/include/stddef.h", line 34: warning 554: Declarator is =
> missing.=0A=
> 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=0A=
> ranlib libnetcdf.a=0A=
> =0A=
> Returning to directory /home/to30571/NetCDF/netcdf-3.5.0/src=0A=
...
I just built version 3.5.0 of the netCDF package our out HP-UX system:
$ uname -a
HP-UX tweety B.11.00 E 9000/785 2004553471 8-user license
using the same environment variable settings that you did. It build
fine. The difference is in the "make test".
> Making `test' in directory =
> /home/to30571/NetCDF/netcdf-3.5.0/src/libsrc=0A=
> =0A=
> /bin/cc -c +DD64 -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> t_nc.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> 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=0A=
> ranlib libnetcdf.a=0A=
> /bin/cc -o t_nc +DD64 t_nc.o -L. -lnetcdf =0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> ./t_nc=0A=
> dimrename: IXX=0A=
> nc_close ret =3D 0=0A=
> =0A=
> reopen id =3D 3 for filename test.nc=0A=
> NC done=0A=
> GATTR VAR VATTR=0A=
> VATTR=0A=
> VATTR=0A=
> VATTR=0A=
> VATTR=0A=
> VATTR=0A=
> fill_seq indices 1 2 3 75.000000 !=3D 2.718282=0A=
> Done=0A=
> got val =3D 3.250000=0A=
> got val =3D 0.000000=0A=
> got val =3D 2.718282=0A=
> got val =3D 82555=0A=
> got val =3D 97=0A=
> got NC_CHAR val =3D A (0x41) =0A=
> got NC_CHAR val =3D B (0x42) =0A=
> got NC_CHAR val =3D "The red death had long devastated the country."=0A=
> got val =3D A (0x41) =0A=
> got val =3D B (0x42) =0A=
> got val =3D "The red death had long devastated the country."=0A=
> got vals =3D 0.000000 ... 447.000000=0A=
> re nc_close ret =3D 0=0A=
> cmp test.nc test_nc.sav=0A=
> *** Success ***=0A=
> =0A=
> Returning to directory /home/to30571/NetCDF/netcdf-3.5.0/src=0A=
> =0A=
> =0A=
> Making `test' in directory =
> /home/to30571/NetCDF/netcdf-3.5.0/src/nc_test=0A=
> =0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> nc_test.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> error.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> test_get.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> test_put.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> test_read.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> test_write.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> /bin/cc -c +DD64 -I../libsrc -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=3D64 =
> util.c=0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> cc: "util.c", line 30: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 30: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 58: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 62: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 63: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 322: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 332: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 342: warning 602: Floating constant exceeds its =
> storage. =0A=
> cc: "util.c", line 352: warning 602: Floating constant exceeds its =
> storage. =0A=
> /bin/cc -o nc_test +DD64 nc_test.o error.o test_get.o test_put.o =
> test_read.o test_write.o util.o -L../libsrc -lnetcdf -lm =0A=
> cc: warning 487: Possibly incorrect message catalog.=0A=
> ./nc_test -c=0A=
> ./nc_test=0A=
> *** Testing nc_strerror ... ok=0A=
> *** Testing nc_open ... ok=0A=
> *** Testing nc_close ... ok=0A=
> *** Testing nc_inq ... ok=0A=
> *** Testing nc_inq_dimid ... ok=0A=
> *** Testing nc_inq_dim ... ok=0A=
> *** Testing nc_inq_dimlen ... ok=0A=
> *** Testing nc_inq_dimname ... ok=0A=
> *** Testing nc_inq_varid ... ok=0A=
> *** Testing nc_inq_var ... ok=0A=
> *** Testing nc_inq_natts ... ok=0A=
> *** Testing nc_inq_ndims ... ok=0A=
> *** Testing nc_inq_nvars ... ok=0A=
> *** Testing nc_inq_unlimdim ... ok=0A=
> *** Testing nc_inq_vardimid ... ok=0A=
> *** Testing nc_inq_varname ... ok=0A=
> *** Testing nc_inq_varnatts ... ok=0A=
> *** Testing nc_inq_varndims ... ok=0A=
> *** Testing nc_inq_vartype ... ok=0A=
> *** Testing nc_get_var_text ... 179 good comparisons. ok=0A=
> *** Testing nc_get_var_uchar ... 264 good comparisons. ok=0A=
> *** Testing nc_get_var_schar ... 269 good comparisons. ok=0A=
> *** Testing nc_get_var_short ... 682 good comparisons. ok=0A=
> *** Testing nc_get_var_int ... 1189 good comparisons. ok=0A=
> *** Testing nc_get_var_long ... 1189 good comparisons. ok=0A=
> *** Testing nc_get_var_float ... 1194 good comparisons. ok=0A=
> *** Testing nc_get_var_double ... 1207 good comparisons. ok=0A=
> *** Testing nc_get_var1_text ... 179 good comparisons. ok=0A=
> *** Testing nc_get_var1_uchar ... 264 good comparisons. ok=0A=
> *** Testing nc_get_var1_schar ... 269 good comparisons. ok=0A=
> *** Testing nc_get_var1_short ... 682 good comparisons. ok=0A=
> *** Testing nc_get_var1_int ... 1189 good comparisons. ok=0A=
> *** Testing nc_get_var1_long ... 1189 good comparisons. ok=0A=
> *** Testing nc_get_var1_float ... 1194 good comparisons. ok=0A=
> *** Testing nc_get_var1_double ... 1207 good comparisons. ok=0A=
> *** Testing nc_get_vara_text ... 179 good comparisons. ok=0A=
> *** Testing nc_get_vara_uchar ... 264 good comparisons. ok=0A=
> *** Testing nc_get_vara_schar ... 269 good comparisons. ok=0A=
> *** Testing nc_get_vara_short ... 682 good comparisons. ok=0A=
> *** Testing nc_get_vara_int ... 1189 good comparisons. ok=0A=
> *** Testing nc_get_vara_long ... 1189 good comparisons. ok=0A=
> *** Testing nc_get_vara_float ... 1194 good comparisons. ok=0A=
> *** Testing nc_get_vara_double ... 1207 good comparisons. ok=0A=
> *** Testing nc_get_vars_text ... =0A=
> FAILURE at line 2738 of test_get.c: bad index: status =3D -58=0A=
> FAILURE at line 2743 of test_get.c: bad edge: status =3D -58=0A=
> FAILURE at line 2817 of test_get.c: Illegal stride=0A=
> FAILURE at line 2830 of test_get.c: value read not that expected=0A=
> FAILURE at line 2817 of test_get.c: Illegal stride=0A=
> FAILURE at line 2830 of test_get.c: value read not that expected=0A=
> FAILURE at line 2738 of test_get.c: bad index: status =3D -58=0A=
> FAILURE at line 2743 of test_get.c: bad edge: status =3D -58=0A=
> 1 good comparisons. =0A=
> ### 485 FAILURES TESTING nc_get_vars_text! ###=0A=
> *** Testing nc_get_vars_uchar ... =0A=
> FAILURE at line 2913 of test_get.c: bad index: status =3D -58=0A=
> FAILURE at line 2918 of test_get.c: bad edge: status =3D -58=0A=
> FAILURE at line 2992 of test_get.c: Illegal stride=0A=
> FAILURE at line 3005 of test_get.c: value read not that expected=0A=
> FAILURE at line 2992 of test_get.c: Illegal stride=0A=
> FAILURE at line 3005 of test_get.c: value read not that expected=0A=
> FAILURE at line 2913 of test_get.c: bad index: status =3D -58=0A=
> FAILURE at line 2918 of test_get.c: bad edge: status =3D -58=0A=
...
The "make test" on our HP-UX 11 system didn't fail.
We have an older version of HP-UX (B.11.00 versus your B.11.11) so our
compilers are probably older as well:
$ ls -lL /usr/bin/cc
-r-xr-xr-x 2 bin bin 495616 Apr 17 1998 /usr/bin/cc
I don't see anything in the C code that would cause your problem;
consequently, I suspect that your C compiler has a bug in it.
Can you tell me the types of "ptrdiff_t" and "size_t" on
your system with the options "+DD64", "-D_HPUX_SOURCE", and
"-D_FILE_OFFSET_BITS=64"? On our system, they are "long" and "unsigned
long", respectively.
Regards,
Steve Emmerson