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.
Charles, The "make.test" logfile that was attached was incomplete: it didn't show how the file "nf_test.F" was compiled, for example. Would you please 1. Go to the top-level source directory. 2. Perform steps 3 through 8 described near the end of the file INSTALL.html. 3. Send me the file "test.log". This should help me diagnose the problem. Regards, Steve Emmerson > To: address@hidden > cc: address@hidden > From: "Charles F. Fisher" <address@hidden> > Subject: problem compiling netcdf-3.5.0 on hpux ia64 (Itanium 2) machine > Organization: University of Kentucky > > The material you request is appended. My problem is that the f90 > compiler on hpux 11.23 (ia64) defaults to +ppu - append an underscore > to symbol names. I am trying to find the settings to change in > configure so that the C-Fortran linkage will go along with the > standard compiler settings. There's an option not to append the > underscore (+noppu), but I'd prefer to avoid using it to make sure > the netcdf library can be used with as many other fortran libraries > as possible. What do I need to specify to build the libraries so the > appropriate underscore gets built in? > > Currently, it fails in testing (log attached). > > > Thanks > Chuck Fisher > address@hidden > > requested information: > > sdx0 177: uname -a > HP-UX sdx0 B.11.23 U ia64 1071763012 unlimited-user license > > sdx0 178: less VERSION > 3.5.0 > VERSION (END) > > macros.make attached > > configure.log attached > > config.log attached. > > make.log attached > > test.log attached > > --zYM0uCDKw75PZbzx > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="macros.make" > > # $Id: macros.make.in,v 1.32 2001/03/13 17:41:33 steve Exp $ > > # The purpose of this file is to contain common make(1) macros. > # It should be processed by every execution of that utility. > > > # POSIX shell. Shouldn't be necessary -- but is under IRIX 5.3. > SHELL = /bin/sh > > > # Installation Directories: > SRCDIR = /opt/cluster/src/netcdf-3.5.0/src > prefix = /opt/cluster/apps/netcdf/netcdf-3.5.0 > exec_prefix = $(prefix) > INCDIR = $(exec_prefix)/include > LIBDIR = $(exec_prefix)/lib > BINDIR = $(exec_prefix)/bin > MANDIR = $(prefix)/man > > > # Preprocessing: > M4 = m4 > M4FLAGS = -B10000 > CPP = cc -E > CPPFLAGS = $(INCLUDES) $(DEFINES) -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 > FPP = > FPPFLAGS = > CXXCPPFLAGS = $(CPPFLAGS) > > > # Compilation: > CC = cc > CXX = /opt/aCC/bin/aCC > FC = f90 > F90 = f90 > CFLAGS = -O > CXXFLAGS = > FFLAGS = -w > F90FLAGS = -w > NETCDF.MOD = netcdf.mod > CC_MAKEDEPEND = false > COMPILE.c = $(CC) -c $(CFLAGS) $(CPPFLAGS) > COMPILE.cxx = $(CXX) -c $(CXXFLAGS) $(CXXCPPFLAGS) > COMPILE.f = $(FC) -c $(FFLAGS) > COMPILE.F90 = $(F90) -c $(F90FLAGS) > # The following command isn't available on some systems; therefore, the > # `.F.o' rule is relatively complicated. > COMPILE.F = $(COMPILE.f) $(FPPFLAGS) > > > # Linking: > MATHLIB = -lm > FLIBS = -lU77 > F90LIBS = -lU77 > LIBS = > F90LDFLAGS = $(LDFLAGS) > LINK.c = $(CC) -o $@ $(CFLAGS) $(LDFLAGS) > LINK.cxx = $(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) > LINK.F = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS) > LINK.f = $(FC) -o $@ $(FFLAGS) $(FLDFLAGS) > LINK.F90 = $(F90) -o $@ $(F90FLAGS) $(F90LDFLAGS) > > > # Manual pages: > WHATIS = whatis > # The following macro should be empty on systems that don't > # allow users to create their own manual-page indexes. > MAKEWHATIS_CMD = > > > # Misc. Utilities: > AR = ar > ARFLAGS = cru > RANLIB = ranlib > TARFLAGS = -chf > > > # Dummy macros: used only as placeholders to silence GNU make. They are > # redefined, as necessary, in subdirectory makefiles. > HEADER = dummy_header > HEADER1 = dummy_header1 > HEADER2 = dummy_header2 > HEADER3 = dummy_header3 > LIBRARY = dummy_library.a > MANUAL = dummy_manual > PROGRAM = dummy_program > > > # Distribution macros: > FTPDIR = /home/ftp/pub/$(PACKAGE) > FTPBINDIR = /home/ftp/pub/binary/dummy_system > VERSION = dummy_version > > --zYM0uCDKw75PZbzx > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="configure.log" > > Script started on Wed Nov 19 09:57:53 2003 > sdx0 21: setenv CC cc > sdx0 22: setenv CPPFLAGS "-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64" > sdx0 23: setenv FC f90 > sdx0 24: setenv FFLAGS -w > sdx0 25: setenv FLIBS -lU77 > sdx0 26: setenv CXX aCC > sdx0 27: configure --prefix=/opt/cluster/apps/netcdf/netcdf-3.5.0 > loading cache ./config.cache > checking for top-level source-directory > /opt/cluster/src/netcdf-3.5.0/src > checking for m4 preprocessor > checking for m4... (cached) m4 > checking m4 flags... -B10000 > checking C compiler "cc"... works > checking how to make dependencies... false > checking for aCC... (cached) /opt/aCC/bin/aCC > checking C++ compiler "/opt/aCC/bin/aCC"... works > checking how to run the C preprocessor... (cached) cc -E > checking user-defined Fortran-77 compiler "f90"... works > checking for Fortran .F compiler... > checking if Fortran-77 compiler handles *.F files... yes > checking "f90" as Fortran-90 compiler... works > checking for nm utility > checking for nm... (cached) nm > checking nm flags... > 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 "byte" is C "long"... no > checking if Fortran "integer*2" is C "short"... yes > checking if Fortran "integer*2" is C "int"... no > checking if Fortran "integer*2" is C "long"... 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 tanh in -lc... (cached) no > checking for tanh in -lm... (cached) yes > checking for ar utility > checking for ar... (cached) ar > checking ar flags... cru > checking for nm utility > checking for nm... (cached) nm > checking nm flags... > checking for ranlib... (cached) ranlib > checking for stdlib.h... (cached) yes > checking for sys/types.h... (cached) yes > checking for strerror... (cached) yes > checking for working ftruncate()... yes > checking for working alloca.h... (cached) yes > checking for alloca... (cached) yes > checking for st_blksize in struct stat... (cached) yes > checking for IEEE floating point format... yes > checking for ANSI C header files... (cached) yes > checking for size_t... (cached) yes > checking for off_t... (cached) yes > checking for ssize_t... (cached) yes > checking for ptrdiff_t... (cached) yes > checking for uchar... (cached) no > checking whether char is unsigned... (cached) no > checking whether byte ordering is bigendian... (cached) yes > checking size of short... (cached) 2 > checking size of int... (cached) 4 > checking size of long... (cached) 4 > checking size of float... (cached) 4 > checking size of double... (cached) 8 > checking size of off_t... (cached) 8 > checking size of size_t... (cached) 4 > checking for manual-page index command... > checking binary distribution directory... /home/ftp/pub/binary/dummy_system > creating ./config.status > creating macros.make > udcreating fortran/nfconfig.inc > fortran/nfconfig.inc is unchanged > creating libsrc/ncconfig.h > libsrc/ncconfig.h is unchanged > sdx0 28: exit > exit > > script done on Wed Nov 19 09:58:36 2003 > > --zYM0uCDKw75PZbzx > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="config.log" > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > configure:928: checking for top-level source-directory > configure:938: checking for m4 preprocessor > configure:945: checking for m4 > configure:1012: checking m4 flags > configure:1085: checking C compiler "cc" > configure:1094: cc -c -O -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c 1>&5 > configure:1121: checking how to make dependencies > configure:1189: checking for aCC > configure:1225: checking C++ compiler "/opt/aCC/bin/aCC" > configure:1243: /opt/aCC/bin/aCC -o conftest -D_HPUX_SOURCE > -D_FILE_OFFSET_BITS=64 conftest.C 1>&5 > Warning 890: "/opt/aCC/include_std/iostream_compat/iostream.h", line 4 # > #warning <iostream.h> is being replaced by <iostream> followed by "using > namespace std;" > #warning <iostream.h> is being replaced by <iostream> followed by "using > namespace std;" > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > configure:1294: checking how to run the C preprocessor > configure:1383: checking user-defined Fortran-77 compiler "f90" > configure:1389: f90 -c -w conftest.f > conftest.f > main program > > 2 Lines Compiled > configure:1548: checking for Fortran .F compiler > configure:1558: checking if Fortran-77 compiler handles *.F files > configure:1569: f90 -o conftest -w conftest.F -lU77 > /var/tmp/fcpAAAa25924.F > main program > > 8 Lines Compiled > configure:1638: checking "f90" as Fortran-90 compiler > configure:1640: f90 -o conftest -w conftest.f90 -lU77 > conftest.f90 > program FOO > external subroutine BAR > > 6 Lines Compiled > configure:1642: ./conftest > configure:1751: checking for nm utility > configure:1758: checking for nm > configure:1825: checking nm flags > configure:1841: checking for C-equivalent to Fortran routine "SUB" > configure:1847: f90 -c -w conftest.f > conftest.f > main program > > 2 Lines Compiled > configure:1876: checking for Fortran "byte" > configure:1883: f90 -c -w conftest.f > conftest.f > external subroutine SUB > > 3 Lines Compiled > configure:1900: checking for Fortran "integer*2" > configure:1907: f90 -c -w conftest.f > conftest.f > external subroutine SUB > > 3 Lines Compiled > configure:1933: checking if Fortran "byte" is C "signed char" > configure:1942: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:1944: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:1946: f90 -o conftest -w conftestf.o conftest.o > configure:1948: ./conftest > configure:1981: checking if Fortran "byte" is C "short" > configure:1990: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:1992: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:1994: f90 -o conftest -w conftestf.o conftest.o > configure:1996: ./conftest > configure:2029: checking if Fortran "byte" is C "int" > configure:2038: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2040: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2042: f90 -o conftest -w conftestf.o conftest.o > configure:2044: ./conftest > configure:2077: checking if Fortran "byte" is C "long" > configure:2086: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2088: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2090: f90 -o conftest -w conftestf.o conftest.o > configure:2092: ./conftest > configure:2129: checking if Fortran "integer*2" is C "short" > configure:2138: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2140: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2142: f90 -o conftest -w conftestf.o conftest.o > configure:2144: ./conftest > configure:2177: checking if Fortran "integer*2" is C "int" > configure:2186: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2188: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2190: f90 -o conftest -w conftestf.o conftest.o > configure:2192: ./conftest > configure:2225: checking if Fortran "integer*2" is C "long" > configure:2234: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2236: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2238: f90 -o conftest -w conftestf.o conftest.o > configure:2240: ./conftest > configure:2275: checking if Fortran "integer" is C "int" > configure:2284: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2286: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2288: f90 -o conftest -w conftestf.o conftest.o > configure:2290: ./conftest > configure:2323: checking if Fortran "real" is C "float" > configure:2332: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2334: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2336: f90 -o conftest -w conftestf.o conftest.o > configure:2338: ./conftest > configure:2371: checking if Fortran "doubleprecision" is C "double" > configure:2380: cc -c -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -O conftest.c > configure:2382: f90 -w -c conftestf.f > conftestf.f > main program > > 4 Lines Compiled > configure:2384: f90 -o conftest -w conftestf.o conftest.o > configure:2386: ./conftest > configure:2413: checking for Fortran-equivalent to netCDF "byte" > configure:2420: f90 -c -w conftest.f > conftest.f > main program > > 2 Lines Compiled > configure:2435: checking for Fortran-equivalent to netCDF "short" > configure:2442: f90 -c -w conftest.f > conftest.f > main program > > 2 Lines Compiled > configure:2462: checking for math library > configure:2466: checking for tanh in -lc > configure:2504: checking for tanh in -lm > configure:2555: checking for ar utility > configure:2562: checking for ar > configure:2629: checking ar flags > configure:2638: checking for nm utility > configure:2680: checking for nm > configure:2712: checking nm flags > configure:2722: checking for ranlib > configure:2751: checking for stdlib.h > configure:2788: checking for sys/types.h > configure:2824: checking for strerror > configure:2877: checking for working ftruncate() > configure:2930: cc -o conftest -O -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 > conftest.c 1>&5 > configure:2952: checking for working alloca.h > configure:2985: checking for alloca > configure:3184: checking for st_blksize in struct stat > configure:3219: checking for IEEE floating point format > configure:3257: cc -o conftest -O -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 > conftest.c 1>&5 > configure:3278: checking for ANSI C header files > configure:3382: checking for size_t > configure:3415: checking for off_t > configure:3448: checking for ssize_t > configure:3481: checking for ptrdiff_t > configure:3514: checking for uchar > configure:3547: checking whether char is unsigned > configure:3610: checking whether byte ordering is bigendian > configure:3700: checking size of short > configure:3739: checking size of int > configure:3778: checking size of long > configure:3817: checking size of float > configure:3856: checking size of double > configure:3895: checking size of off_t > configure:3938: checking size of size_t > configure:4062: checking for manual-page index command > configure:4066: checking binary distribution directory > > --zYM0uCDKw75PZbzx > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="make.log" > > Script started on Wed Nov 19 09:58:49 2003 > sdx0 21: gmake > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `all' in directory /opt/cluster/src/netcdf-3.5.0/src/libsrc > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/libsrc' > 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 > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/libsrc' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `all' in directory /opt/cluster/src/netcdf-3.5.0/src/fortran > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/fortran' > 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 > ranlib ../libsrc/libnetcdf.a > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/fortran' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `all' in directory /opt/cluster/src/netcdf-3.5.0/src/f90 > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/f90' > ar cru ../libsrc/libnetcdf.a netcdf.o typeSizes.o > ranlib ../libsrc/libnetcdf.a > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/f90' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `all' in directory /opt/cluster/src/netcdf-3.5.0/src/ncdump > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/ncdump' > cc -o ncdump -O ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/ncdump' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `all' in directory /opt/cluster/src/netcdf-3.5.0/src/ncgen > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/ncgen' > cc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o > ../libsrc/libnetcdf.a > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/ncgen' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `all' in directory /opt/cluster/src/netcdf-3.5.0/src/cxx > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/cxx' > ar cru libnetcdf_c++.a netcdf.o ncvalues.o > ranlib libnetcdf_c++.a > /opt/aCC/bin/aCC -o nctst nctst.o libnetcdf_c++.a -L../libsrc -lnetcdf > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/cxx' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > sdx0 22: exit > > script done on Wed Nov 19 09:58:53 2003 > > --zYM0uCDKw75PZbzx > Content-Type: text/plain; charset=us-ascii > Content-Disposition: attachment; filename="test.log" > > Script started on Wed Nov 19 09:58:58 2003 > sdx0 21: gmake test > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/libsrc > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/libsrc' > 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 > cc -o t_nc -O t_nc.o -L. -lnetcdf > ./t_nc > trying again > 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 *** > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/libsrc' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/nc_test > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/nc_test' > cc -o nc_test -O 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_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 *** > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/nc_test' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/nctest > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/nctest' > cc -o nctest -O 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 > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/nctest' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/fortran > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/fortran' > 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 > ranlib ../libsrc/libnetcdf.a > f90 -o ftest -w 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 ... > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/fortran' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/nf_test > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/nf_test' > f90 -o nf_test -w 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 -lU77 -lm > ./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 *** > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/nf_test' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/f90 > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/f90' > *** Success *** > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/f90' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/ncdump > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/ncdump' > cc -o ncdump -O ncdump.o vardata.o dumplib.o ../libsrc/libnetcdf.a > ../ncgen/ncgen -b test0.cdl > ./ncdump -n test1 test0.nc > test1.cdl > ../ncgen/ncgen -b test1.cdl > ./ncdump test1.nc > test2.cdl > *** ncdump test successful *** > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/ncdump' > > Returning to directory /opt/cluster/src/netcdf-3.5.0/src > > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake[1]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src' > > Making `test' in directory /opt/cluster/src/netcdf-3.5.0/src/ncgen > > gmake[2]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/ncgen' > cc -o ncgen -O main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o > ../libsrc/libnetcdf.a > ./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 && \ > cc -o ctest -O -I../libsrc -I. -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 > ctest.c ../libsrc/libnetcdf.a && \ > ./ctest && \ > ../ncdump/ncdump -n c1 ctest0.nc > ctest1.cdl > *** ncgen -c test successful *** > gmake[3]: Entering directory `/opt/cluster/src/netcdf-3.5.0/src/ncgen' > ./ncgen -f -o ftest0.nc c0.cdl > ftest.f > f90 -c -w ftest.f > ftest.f > program FGENNC > external subroutine WRITERECS > external subroutine CHECK_ERR > > 5296 Lines Compiled > f90 -w -o ftest ftest.o ../libsrc/libnetcdf.a > ld: Unsatisfied symbol "nf_put_vara_text_" in file ftest.o > ld: Unsatisfied symbol "nf_create_" in file ftest.o > ld: Unsatisfied symbol "nf_put_att_int_" in file ftest.o > ld: Unsatisfied symbol "nf_put_var_int_" in file ftest.o > ld: Unsatisfied symbol "nf_def_dim_" in file ftest.o > ld: Unsatisfied symbol "nf_put_vara_double_" in file ftest.o > ld: Unsatisfied symbol "nf_put_att_text_" in file ftest.o > ld: Unsatisfied symbol "nf_put_var_text_" in file ftest.o > ld: Unsatisfied symbol "nf_enddef_" in file ftest.o > ld: Unsatisfied symbol "nf_strerror_" in file ftest.o > ld: Unsatisfied symbol "nf_def_var_" in file ftest.o > ld: Unsatisfied symbol "nf_put_vara_real_" in file ftest.o > ld: Unsatisfied symbol "nf_put_vara_int_" in file ftest.o > ld: Unsatisfied symbol "nf_close_" in file ftest.o > ld: Unsatisfied symbol "nf_put_att_double_" in file ftest.o > ld: Unsatisfied symbol "nf_put_var_double_" in file ftest.o > ld: Unsatisfied symbol "nf_put_var_real_" in file ftest.o > ld: Unsatisfied symbol "nf_put_att_real_" in file ftest.o > 18 errors. > gmake[3]: *** [ftest1.cdl] Error 1 > gmake[3]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/ncgen' > gmake[2]: *** [f-test] Error 2 > gmake[2]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src/ncgen' > gmake[1]: *** [subdir_target] Error 1 > gmake[1]: Leaving directory `/opt/cluster/src/netcdf-3.5.0/src' > gmake: *** [ncgen/test] Error 2 > sdx0 22: exit > > script done on Wed Nov 19 09:59:11 2003 > > --zYM0uCDKw75PZbzx-- > > > ------- End of Forwarded Message