[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
970814: netCDF IRIX build problem: "make test" hangs
- Subject: 970814: netCDF IRIX build problem: "make test" hangs
- Date: Thu, 14 Aug 97 08:25:22 -0600
Kelly,
> To: address@hidden
> From: address@hidden
> Subject: netcdf problem. : (
> Organization: Colorado State University (CSU)/Dept. of Atmopheric Science
> Keywords: 199708132233.QAA06442
In the above message, you wrote:
> hi. problems building netcdf under irix...
>
> first of all, if this is russ, i am happy to tell you that you
> have been duly nominated to the *world wide weather weenie of
> the week* board. voting for this week's nominees begins tomorrow
> afternoon. i will send you the results. ;)
On behalf of Russ (who's on vacation) he thanks you for the honor and
appreciates your support.
>
> second of all, the problem.
>
> uname -a
> IRIX64 inferno 6.2 03131016 IP26
>
> cat VERSION
> 3.3.1
>
> configure (error/output log)
> creating cache ./config.cache
> checking for m4... m4
> checking user-defined C compiler "/bin/cc -64"
> checking C compiler... works
> checking how to make dependencies... cc -M
> checking for /usr/lib/cc... /usr/lib/cc
> checking C++ compiler "/usr/lib/cc"... works
From the line above, it appears that the configure script decided that
/usr/lib/cc was the C++ compiler.
> checking how to run the C preprocessor... /bin/cc -64 -E
> checking user-defined FORTRAN compiler "/bin/f77 -64"... works
> checking for FORTRAN .F compiler...
> checking if FORTRAN compiler handles *.F files... yes
> checking for C-equivalent to FORTRAN routine "SUB"... sub_
> checking for FORTRAN "byte"... yes
> checking for FORTRAN "integer*2"... yes
> checking if FORTRAN "byte" is C "signed char"... yes
> checking if FORTRAN "byte" is C "short"... no
> checking if FORTRAN "byte" is C "int"... no
> checking if FORTRAN "integer*2" is C "short"... yes
> checking if FORTRAN "integer*2" is C "int"... no
> checking if FORTRAN "integer" is C "int"... yes
> checking if FORTRAN "real" is C "float"... yes
> checking if FORTRAN "doubleprecision" is C "double"... yes
> checking for FORTRAN-equivalent to netCDF "byte"... byte
> checking for FORTRAN-equivalent to netCDF "short"... integer*2
> checking for math library
> checking for -lc... no
> checking for -lm... yes
> checking for ar... ar
> checking for ranlib... :
> checking for stdlib.h... yes
> checking for sys/types.h... yes
> checking for strerror... yes
> checking for ftruncate... yes
> checking for st_blksize in struct stat... yes
> checking whether cross-compiling... no
> checking for IEEE floating point format... yes
> checking for ANSI C header files... yes
> checking for size_t... yes
> checking for off_t... yes
> checking for ssize_t... yes
> checking for ptrdiff_t... yes
> checking for uchar... no
> checking whether char is unsigned... yes
> checking whether byte ordering is bigendian... yes
> checking size of short... 2
> checking size of int... 4
> checking size of long... 8
> checking size of float... 4
> checking size of double... 8
> checking size of off_t... 8
> checking size of size_t... 8
> checking for catman... no
> checking for makewhatis... no
> checking for manual-page index command...
> checking binary distribution directory... /home/ftp/pub/binary/dummy_system
> updating cache ./config.cache
> creating ./config.status
> creating macros.make
> udcreating fortran/nfconfig.inc
> fortran/nfconfig.inc is unchanged
> creating libsrc/ncconfig.h
> libsrc/ncconfig.h is unchanged
>
> which on compilers
> /bin/cc
> /bin/f77
> **we have no c++ compiler! but the make seems to want to compile
> in there anyway!!**
>
> config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1017: /bin/cc -64 -c -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:1150: /usr/lib/cc -c -DNDEBUG conftest.C 1>&5
> configure:1217: /bin/cc -64 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:1316: /bin/f77 -64 -c -O conftest.f
> configure:1415: /bin/f77 -64 -o conftest -O conftest.F
> configure:1456: /bin/f77 -64 -c -O conftest.f
> configure:1491: /bin/f77 -64 -c -O conftest.f
> configure:1514: /bin/f77 -64 -c -O conftest.f
> configure:1548: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1550: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1552: ./conftest
> configure:1590: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1592: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1594: ./conftest
> configure:1632: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1634: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1636: ./conftest
> configure:1678: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1680: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1682: ./conftest
> configure:1720: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1722: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1724: ./conftest
> configure:1764: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1766: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1768: ./conftest
> configure:1806: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1808: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1810: ./conftest
> configure:1848: /bin/cc -64 -c -DNDEBUG -O -DNDEBUG conftest.c
> configure:1850: /bin/f77 -64 -o conftest -O conftestf.f conftest.o
> configure:1852: ./conftest
> configure:1882: /bin/f77 -64 -c -O conftest.f
> configure:1903: /bin/f77 -64 -c -O conftest.f
> configure:1943: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c -lc
> 1>&5
> ld64: ERROR 33: Unresolved text symbol "tanh" -- 1st referenced by conftest.o.
> ld64: INFO 60: Output file removed because of error.
> cc ERROR: /usr/lib64/cmplrs/ld64 returned non-zero status 1
> configure:1977: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c -lm
> 1>&5
> configure:2072: /bin/cc -64 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2106: /bin/cc -64 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2156: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2204: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2238: /bin/cc -64 -c -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> "configure", line 2234: warning(1171): expression has no effect
> struct stat s; s.st_blksize;
> ^
>
> "configure", line 2234: warning(1551): variable "s" is used before its value
> is set
> struct stat s; s.st_blksize;
> ^
>
> configure:2270: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2322: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2351: /bin/cc -64 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2416: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2634: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> "configure", line 2630: warning(1183): pointless comparison of unsigned
> integer with zero
> volatile char c = 255; exit(c < 0);
> ^
>
> configure:2672: /bin/cc -64 -c -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> "configure", line 2667: error(1020): identifier "bogus" is undefined
> bogus endian macros
> ^
>
> "configure", line 2667: error(1065): expected a ";"
> bogus endian macros
> ^
>
> 2 errors detected in the compilation of "conftest.c".
> configure:2718: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2756: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2790: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2824: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2858: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2892: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2930: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
> configure:2968: /bin/cc -64 -o conftest -O -DNDEBUG -DNDEBUG conftest.c 1>&5
>
>
> make (error/output log)
> Making `all' in directory /usr/local/src/netcdf-3.3.1/src/libsrc
>
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG attr.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG dim.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG error.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG -DVERSION=`cat ../VERSION`
> libvers.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG nc.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG ncio.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG ncx.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG putget.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG string.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG v1hpg.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG v2i.c
> /bin/cc -64 -c -O -DNDEBUG -I. -DNDEBUG var.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
> : libnetcdf.a
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `all' in directory /usr/local/src/netcdf-3.3.1/src/fortran
>
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-attio.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-control.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-dim.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-genatt.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-geninq.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-genvar.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-lib.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-misc.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-v2compat.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-vario.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-var1io.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-varaio.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-varmio.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG fort-varsio.c
> ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o
> fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o
> fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o
> fort-varaio.o fort-varmio.o fort-varsio.o
> : ../libsrc/libnetcdf.a
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `all' in directory /usr/local/src/netcdf-3.3.1/src/ncdump
>
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG ncdump.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG vardata.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG dumplib.c
> /bin/cc -64 -o ncdump -O -DNDEBUG ncdump.o vardata.o dumplib.o
> -L../libsrc -lnetcdf
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `all' in directory /usr/local/src/netcdf-3.3.1/src/ncgen
>
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG main.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG load.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG ncgentab.c
> "/usr/ccs/bin/yaccpar", line 5: warning(1155): unrecognized #pragma
> #pragma ident "@(#)yaccpar 6.12 93/06/07 SMI"
> ^
>
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG escapes.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG getfill.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG init.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -I. -DNDEBUG genlib.c
> /bin/cc -64 -o ncgen -O -DNDEBUG main.o load.o ncgentab.o escapes.o
> getfill.o init.o genlib.o ../libsrc/libnetcdf.a
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `all' in directory /usr/local/src/netcdf-3.3.1/src/cxx
>
> /usr/lib/cc -c -O -DNDEBUG -I../libsrc -DNDEBUG netcdf.cc
> cfe: Error: ./ncvalues.hh: 13: Cannot open file generic.h for #include
> cfe: Error: ./ncvalues.hh: 14: Cannot open file iostream.h for #include
> cfe: Error: ./ncvalues.hh: 18: Cannot open file strstream.h for #include
> cfe: Error: ./ncvalues.hh: 50: Unterminated string or character constant
> cfe: Error: ./netcdf.hh: 91: Unterminated string or character constant
> cfe: Error: ./netcdf.hh: 221: Unterminated string or character constant
> cfe: Error: ./netcdf.hh: 248: Unterminated string or character constant
> cfe: Error: ./netcdf.hh: 298: Unterminated string or character constant
> cfe: Error: ./netcdf.hh: 302: Unterminated string or character constant
> cfe: Error: ./netcdf.hh: 310: Unterminated string or character constant
> cfe: Error: netcdf.cc: 828: Unterminated string or character constant
> cfe: Error: netcdf.cc: 991: Unterminated string or character constant
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
>
> make test (error/output log)
> *** a note here -- this make test ran and ran and after
> almost an hour (it was competing against a gcm run) i
> killed it... ***
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/libsrc
>
> /bin/cc -64 -c -O -DNDEBUG -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
> : libnetcdf.a
> /bin/cc -64 -o t_nc -O -DNDEBUG t_nc.o -L. -lnetcdf
> ./t_nc
> 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
> cmp test.nc test_nc.sav
> *** Success ***
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/nctest
>
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG varget.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG vargetg.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG varput.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG varputg.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG vardef.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG vartests.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG vputget.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG vputgetg.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG driver.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG cdftests.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG dimtests.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG rec.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG atttests.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG misctest.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG add.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG error.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG emalloc.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG val.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG slabs.c
> /bin/cc -64 -o nctest -O -DNDEBUG varget.o vargetg.o varput.o
> varputg.o vardef.o vartests.o vputget.o vputgetg.o driver.o cdftests.o
> dimtests.o rec.o atttests.o misctest.o add.o error.o emalloc.o val.o slabs.o
> -L../libsrc -lnetcdf
> ./nctest
> *** 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 ... ok ***
> *** Testing ncvarputg ... ok ***
> *** Testing ncvargetg ... ok ***
> *** Testing ncrecinq ... ok ***
> *** Testing ncrecput ... ok ***
> *** Testing ncrecget ... ok ***
> *** Testing ncvarrename ... ok ***
> *** Testing ncattput ... ok ***
> *** Testing ncattinq ... ok ***
> *** Testing ncattget ... ok ***
> *** Testing ncattcopy ... ok ***
> *** Testing ncattname ... ok ***
> *** Testing ncattrename ... ok ***
> *** Testing ncattdel ... ok ***
> *** Testing nctypelen ... ok ***
> cmp testfile.nc testfile_nc.sav
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/nc_test
>
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG nc_test.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG error.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG test_get.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG test_put.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG test_read.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG test_write.c
> /bin/cc -64 -c -O -DNDEBUG -I../libsrc -DNDEBUG util.c
> /bin/cc -64 -o nc_test -O -DNDEBUG nc_test.o error.o test_get.o
> test_put.o test_read.o test_write.o util.o -L../libsrc -lnetcdf -lm
> ./nc_test -c
> ./nc_test
> *** Testing nc_strerror ... ok
> *** Testing nc_open ... ok
> *** Testing nc_close ... ok
> *** Testing nc_inq ... ok
> *** Testing nc_inq_dimid ... ok
> *** Testing nc_inq_dim ... ok
> *** Testing nc_inq_dimlen ... ok
> *** Testing nc_inq_dimname ... ok
> *** Testing nc_inq_varid ... ok
> *** Testing nc_inq_var ... ok
> *** Testing nc_inq_natts ... ok
> *** Testing nc_inq_ndims ... ok
> *** Testing nc_inq_nvars ... ok
> *** Testing nc_inq_unlimdim ... ok
> *** Testing nc_inq_vardimid ... ok
> *** Testing nc_inq_varname ... ok
> *** Testing nc_inq_varnatts ... ok
> *** Testing nc_inq_varndims ... ok
> *** Testing nc_inq_vartype ... ok
> *** Testing nc_get_var_text ... 179 good comparisons. ok
> *** Testing nc_get_var_uchar ... 264 good comparisons. ok
> *** Testing nc_get_var_schar ... 269 good comparisons. ok
> *** Testing nc_get_var_short ... 682 good comparisons. ok
> *** Testing nc_get_var_int ... 1189 good comparisons. ok
> *** Testing nc_get_var_long ... 1189 good comparisons. ok
> *** Testing nc_get_var_float ... 1194 good comparisons. ok
> *** Testing nc_get_var_double ... 1207 good comparisons. ok
> *** Testing nc_get_var1_text ... 179 good comparisons. ok
> *** Testing nc_get_var1_uchar ... 264 good comparisons. ok
> *** Testing nc_get_var1_schar ... 269 good comparisons. ok
> *** Testing nc_get_var1_short ... 682 good comparisons. ok
> *** Testing nc_get_var1_int ... 1189 good comparisons. ok
> *** Testing nc_get_var1_long ... 1189 good comparisons. ok
> *** Testing nc_get_var1_float ... 1194 good comparisons. ok
> *** Testing nc_get_var1_double ... 1207 good comparisons. ok
> *** Testing nc_get_vara_text ... 179 good comparisons. ok
> *** Testing nc_get_vara_uchar ... 264 good comparisons. ok
> *** Testing nc_get_vara_schar ... 269 good comparisons. ok
> *** Testing nc_get_vara_short ... 682 good comparisons. ok
> *** Testing nc_get_vara_int ... 1189 good comparisons. ok
> *** Testing nc_get_vara_long ... 1189 good comparisons. ok
> *** Testing nc_get_vara_float ... 1194 good comparisons. ok
> *** Testing nc_get_vara_double ... 1207 good comparisons. ok
> *** Testing nc_get_vars_text ... 179 good comparisons. ok
> *** Testing nc_get_vars_uchar ... 264 good comparisons. ok
> *** Testing nc_get_vars_schar ... 269 good comparisons. ok
> *** Testing nc_get_vars_short ... 682 good comparisons. ok
> *** Testing nc_get_vars_int ... 1189 good comparisons. ok
> *** Testing nc_get_vars_long ... 1189 good comparisons. ok
> *** Testing nc_get_vars_float ... 1194 good comparisons. ok
> *** Testing nc_get_vars_double ... 1207 good comparisons. ok
> *** Testing nc_get_varm_text ... 179 good comparisons. ok
> *** Testing nc_get_varm_uchar ... 264 good comparisons. ok
> *** Testing nc_get_varm_schar ... 269 good comparisons. ok
> *** Testing nc_get_varm_short ... 682 good comparisons. ok
> *** Testing nc_get_varm_int ... 1189 good comparisons. ok
> *** Testing nc_get_varm_long ... 1189 good comparisons. ok
> *** Testing nc_get_varm_float ... 1194 good comparisons. ok
> *** Testing nc_get_varm_double ... 1207 good comparisons. ok
> *** Testing nc_get_att_text ... 7 good comparisons. ok
> *** Testing nc_get_att_uchar ... 5 good comparisons. ok
> *** Testing nc_get_att_schar ... 7 good comparisons. ok
> *** Testing nc_get_att_short ... 15 good comparisons. ok
> *** Testing nc_get_att_int ... 19 good comparisons. ok
> *** Testing nc_get_att_long ... 19 good comparisons. ok
> *** Testing nc_get_att_float ... 21 good comparisons. ok
> *** Testing nc_get_att_double ... 27 good comparisons. ok
> *** Testing nc_inq_att ... ok
> *** Testing nc_inq_attname ... ok
> *** Testing nc_inq_attid ... ok
> *** Testing nc_inq_attlen ... ok
> *** Testing nc_inq_atttype ... ok
> *** Testing nc_create ... ok
> *** Testing nc_redef ... 1386 good comparisons. 34 good comparisons. ok
> *** Testing nc_enddef ... 1386 good comparisons. 34 good comparisons. ok
> *** Testing nc_sync ... 34 good comparisons. 1386 good comparisons. ok
> *** Testing nc_abort ... 1386 good comparisons. 34 good comparisons. ok
> *** Testing nc_def_dim ... ok
> *** Testing nc_rename_dim ... ok
> *** Testing nc_def_var ... ok
> *** Testing nc_put_var_text ... 179 good comparisons. ok
> *** Testing nc_put_var_uchar ... 264 good comparisons. ok
> *** Testing nc_put_var_schar ... 269 good comparisons. ok
> *** Testing nc_put_var_short ... 682 good comparisons. ok
> *** Testing nc_put_var_int ... 1189 good comparisons. ok
> *** Testing nc_put_var_long ... 1189 good comparisons. ok
> *** Testing nc_put_var_float ... 1194 good comparisons. ok
> *** Testing nc_put_var_double ... 1207 good comparisons. ok
> *** Testing nc_put_var1_text ... 179 good comparisons. ok
> *** Testing nc_put_var1_uchar ... 264 good comparisons. ok
> *** Testing nc_put_var1_schar ... 269 good comparisons. ok
> *** Testing nc_put_var1_short ... 682 good comparisons. ok
> *** Testing nc_put_var1_int ... 1189 good comparisons. ok
> *** Testing nc_put_var1_long ... 1189 good comparisons. ok
> *** Testing nc_put_var1_float ... 1194 good comparisons. ok
> *** Testing nc_put_var1_double ... 1207 good comparisons. ok
> *** Testing nc_put_vara_text ... 179 good comparisons. ok
> *** Testing nc_put_vara_uchar ... 264 good comparisons. ok
> *** Testing nc_put_vara_schar ... 269 good comparisons. ok
> *** Testing nc_put_vara_short ... 682 good comparisons. ok
> *** Testing nc_put_vara_int ... 1189 good comparisons. ok
> *** Testing nc_put_vara_long ... 1189 good comparisons. ok
> *** Testing nc_put_vara_float ... 1194 good comparisons. ok
> *** Testing nc_put_vara_double ... 1207 good comparisons. ok
> *** Testing nc_put_vars_text ... 179 good comparisons. ok
> *** Testing nc_put_vars_uchar ... 264 good comparisons. ok
> *** Testing nc_put_vars_schar ... 269 good comparisons. ok
> *** Testing nc_put_vars_short ... 682 good comparisons. ok
> *** Testing nc_put_vars_int ... 1189 good comparisons. ok
> *** Testing nc_put_vars_long ... 1189 good comparisons. ok
> *** Testing nc_put_vars_float ... 1194 good comparisons. ok
> *** Testing nc_put_vars_double ... 1207 good comparisons. ok
> *** Testing nc_put_varm_text ... 179 good comparisons. ok
> *** Testing nc_put_varm_uchar ... 264 good comparisons. ok
> *** Testing nc_put_varm_schar ... 269 good comparisons. ok
> *** Testing nc_put_varm_short ... 682 good comparisons. ok
> *** Testing nc_put_varm_int ... 1189 good comparisons. ok
> *** Testing nc_put_varm_long ... 1189 good comparisons. ok
> *** Testing nc_put_varm_float ... 1194 good comparisons. ok
> *** Testing nc_put_varm_double ... 1207 good comparisons. ok
> *** Testing nc_rename_var ... 1386 good comparisons. ok
> *** Testing nc_put_att_text ... 7 good comparisons. ok
> *** Testing nc_put_att_uchar ... 5 good comparisons. ok
> *** Testing nc_put_att_schar ... 7 good comparisons. ok
> *** Testing nc_put_att_short ... 15 good comparisons. ok
> *** Testing nc_put_att_int ... 19 good comparisons. ok
> *** Testing nc_put_att_long ... 19 good comparisons. ok
> *** Testing nc_put_att_float ... 21 good comparisons. ok
> *** Testing nc_put_att_double ... 27 good comparisons. ok
> *** Testing nc_copy_att ... 34 good comparisons. ok
> *** Testing nc_rename_att ... 34 good comparisons. ok
> *** Testing nc_del_att ... ok
> *** Testing nc_set_fill ... 2796 good comparisons. ok
>
> Total number of failures: 0
> *** Success ***
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/fortran
>
> + /bin/f77 -64 -c -O ftest.F
> ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o
> fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o
> fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o
> fort-varaio.o fort-varmio.o fort-varsio.o
> : ../libsrc/libnetcdf.a
> /bin/f77 -64 -o ftest -O ftest.o ../libsrc/libnetcdf.a
> ./ftest
> *** Testing nccre ...
> *** Testing ncddef ...
> *** Testing ncvdef ...
> *** Testing ncapt, ncaptc ...
> *** Testing ncclos ...
> *** Testing ncvpt1 ...
> *** Testing ncvgt1 ...
> *** Testing ncvpt ...
> *** Testing ncopn, ncinq, ncdinq, ncvinq, ncanam, ncainq ...
> *** Testing ncvgt, ncvgtc ...
> *** Testing ncagt, ncagtc ...
> *** Testing ncredf, ncdren, ncvren, ncaren, ncendf ...
> *** Testing ncacpy ...
> *** Testing ncadel ...
> *** Testing fill values ...
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/nf_test
>
> + /bin/f77 -64 -c -O test_get.F
> + /bin/f77 -64 -c -O test_put.F
> + /bin/f77 -64 -c -O nf_error.F
> + /bin/f77 -64 -c -O nf_test.F
> + /bin/f77 -64 -c -O test_read.F
> + /bin/f77 -64 -c -O test_write.F
> + /bin/f77 -64 -c -O util.F
> /bin/cc -64 -c -O -DNDEBUG -DNDEBUG fortlib.c
> /bin/f77 -64 -o nf_test -O test_get.o test_put.o nf_error.o
> nf_test.o test_read.o test_write.o util.o fortlib.o
> ../libsrc/libnetcdf.a -lm
> ld64: WARNING 84: /usr/lib64/mips4/libm.so is not used for resolving any
> symbol.
> ./nf_test -c
> ./nf_test
> *** Testing nf_strerror ...
> *** Testing nf_open ...
> *** Testing nf_close ...
> *** Testing nf_inq ...
> *** Testing nf_inq_dimid ...
> *** Testing nf_inq_dim ...
> *** Testing nf_inq_dimlen ...
> *** Testing nf_inq_dimname ...
> *** Testing nf_inq_varid ...
> *** Testing nf_inq_var ...
> *** Testing nf_inq_natts ...
> *** Testing nf_inq_ndims ...
> *** Testing nf_inq_nvars ...
> *** Testing nf_inq_unlimdim ...
> *** Testing nf_inq_vardimid ...
> *** Testing nf_inq_varname ...
> *** Testing nf_inq_varnatts ...
> *** Testing nf_inq_varndims ...
> *** Testing nf_inq_vartype ...
> *** Testing nf_get_var1_text ...
> *** Testing nf_get_var1_int1 ...
> *** Testing nf_get_var1_int2 ...
> *** Testing nf_get_var1_int ...
> *** Testing nf_get_var1_real ...
> *** Testing nf_get_var1_double ...
> *** Testing nf_get_var_text ...
> *** Testing nf_get_var_int1 ...
> *** Testing nf_get_var_int2 ...
> *** Testing nf_get_var_int ...
> *** Testing nf_get_var_real ...
> *** Testing nf_get_var_double ...
> *** Testing nf_get_vara_text ...
> *** Testing nf_get_vara_int1 ...
> *** Testing nf_get_vara_int2 ...
> *** Testing nf_get_vara_int ...
> *** Testing nf_get_vara_real ...
> *** Testing nf_get_vara_double ...
> *** Testing nf_get_vars_text ...
> *** Testing nf_get_vars_int1 ...
> *** Testing nf_get_vars_int2 ...
> *** Testing nf_get_vars_int ...
> *** Testing nf_get_vars_real ...
> *** Testing nf_get_vars_double ...
> *** Testing nf_get_varm_text ...
> *** Testing nf_get_varm_int1 ...
> *** Testing nf_get_varm_int2 ...
> *** Testing nf_get_varm_int ...
> *** Testing nf_get_varm_real ...
> *** Testing nf_get_varm_double ...
> *** Testing nf_get_att_text ...
> *** Testing nf_get_att_int1 ...
> *** Testing nf_get_att_int2 ...
> *** Testing nf_get_att_int ...
> *** Testing nf_get_att_real ...
> *** Testing nf_get_att_double ...
> *** Testing nf_inq_att ...
> *** Testing nf_inq_attname ...
> *** Testing nf_inq_attid ...
> *** Testing nf_inq_attlen ...
> *** Testing nf_inq_atttype ...
> *** Testing nf_create ...
> *** Testing nf_redef ...
> *** Testing nf_enddef ...
> *** Testing nf_sync ...
> *** Testing nf_abort ...
> *** Testing nf_def_dim ...
> *** Testing nf_rename_dim ...
> *** Testing nf_def_var ...
> *** Testing nf_put_var1_text ...
> *** Testing nf_put_var1_int1 ...
> *** Testing nf_put_var1_int2 ...
> *** Testing nf_put_var1_int ...
> *** Testing nf_put_var1_real ...
> *** Testing nf_put_var1_double ...
> *** Testing nf_put_var_text ...
> *** Testing nf_put_var_int1 ...
> *** Testing nf_put_var_int2 ...
> *** Testing nf_put_var_int ...
> *** Testing nf_put_var_real ...
> *** Testing nf_put_var_double ...
> *** Testing nf_put_vara_text ...
> *** Testing nf_put_vara_int1 ...
> *** Testing nf_put_vara_int2 ...
> *** Testing nf_put_vara_int ...
> *** Testing nf_put_vara_real ...
> *** Testing nf_put_vara_double ...
> *** Testing nf_put_vars_text ...
> *** Testing nf_put_vars_int1 ...
> *** Testing nf_put_vars_int2 ...
> *** Testing nf_put_vars_int ...
> *** Testing nf_put_vars_real ...
> *** Testing nf_put_vars_double ...
> *** Testing nf_put_varm_text ...
> *** Testing nf_put_varm_int1 ...
> *** Testing nf_put_varm_int2 ...
> *** Testing nf_put_varm_int ...
> *** Testing nf_put_varm_real ...
> *** Testing nf_put_varm_double ...
> *** Testing nf_rename_var ...
> *** Testing nf_put_att_text ...
> *** Testing nf_put_att_int1 ...
> *** Testing nf_put_att_int2 ...
> *** Testing nf_put_att_int ...
> *** Testing nf_put_att_real ...
> *** Testing nf_put_att_double ...
> *** Testing nf_copy_att ...
> *** Testing nf_rename_att ...
> *** Testing nf_del_att ...
> *** Testing nf_set_fill ...
> Total number of failures: 0
> *** Success ***
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/ncdump
>
> ../ncgen/ncgen -o test0.nc -n test0.cdl
> ./ncdump test0.nc > test1.cdl
> ../ncgen/ncgen -o test1.nc -n test1.cdl
> ./ncdump -n test0 test1.nc > test2.cdl
> *** ncdump test successful ***
>
> Returning to directory /usr/local/src/netcdf-3.3.1/src
>
>
> Making `test' in directory /usr/local/src/netcdf-3.3.1/src/ncgen
>
> ./ncgen -b -o c0.nc c0.cdl
> ../ncdump/ncdump -n c1 c0.nc > c1.cdl
> *** ncgen -b test successful ***
> ./ncgen -c -o ctest0.nc c0.cdl > ctest.c && \
> /bin/cc -64 -o ctest -O -DNDEBUG -I../libsrc -I. -DNDEBUG ctest.c
> ../libsrc/libnetcdf.a && \
> ./ctest && \
> ../ncdump/ncdump -n c1 ctest0.nc > ctest1.cdl
>
>
>
> Signal: SIGINT in Optimizer phase.
> cc ERROR: /usr/lib64/cmplrs/be returned non-zero status 1
>
>
> ------- End of Forwarded Message
Hmm... I just successfully built and tested version 3.3.1 of the netCDF
package on our IRIX64 6.2 IP26 system -- using, ostensibly, the same
compilers and compiler flags. Here are the relevant details:
$ uname -a
IRIX64 binnie 6.2 03131016 IP26
$ CPPFLAGS=-DNDEBUG CC='/bin/cc -64' CFLAGS=-O FC='/bin/f77 -64' \
FFLAGS=-O CXX= ./configure --prefix=/upc/netcdf &>configure.log
$ /bin/cc -64 -version
Mongoose Compilers: Version 7.10
$ /bin/f77 -64 -version
Mongoose Compilers: Version 7.10
$ make &>all &>test.log
$ make test &>test.log
$ tail -19 test.log
Making `test' in directory /upc/netcdf/src/ncgen
./ncgen -b -o c0.nc c0.cdl
../ncdump/ncdump -n c1 c0.nc > c1.cdl
*** ncgen -b test successful ***
./ncgen -c -o ctest0.nc c0.cdl > ctest.c && \
/bin/cc -64 -o ctest -O -I../libsrc -I. -DNDEBUG ctest.c
../libsrc/libnetcdf.a && \
./ctest && \
../ncdump/ncdump -n c1 ctest0.nc > ctest1.cdl
*** ncgen -c test successful ***
./ncgen -f -o ftest0.nc c0.cdl > ftest.f
/bin/f77 -64 -o ftest -O ftest.f ../libsrc/libnetcdf.a
./ftest
../ncdump/ncdump -n c1 ftest0.nc > ftest1.cdl
*** ncgen -f test successful ***
Returning to directory /upc/netcdf/src
I wonder why it worked on our system but not on your (supposedly
identical) system? Would you please check the compiler versions and
also verify the runaway behavior of the "make test". Also, if it
does hang again, please see what utility it being executed (one can't
always tell from the log file due to buffering of standard output).
Incidentally, the way to prevent a "make" from delving into the cxx/
subdirectory is to define the CXX environment variable to be the empty
string before executing the configure script. If you want to set your
makefiles up this way, then do the following:
1. Go to the top-level source directory.
2. Remove the file "config.cache".
3. Set your environment variables as before.
4. Set the CXX environment variable to the empty string.
5. Execute the configure script.
--------
Steve Emmerson <http://www.unidata.ucar.edu>