[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 980428: problems on netcdf



Bingming,

> To: address@hidden
> From: address@hidden (Bingming Shentu)
> Subject: problems on netcdf
> Organization: Dept. Geosciences, SUNY at Stony Brook
> Keywords: 199804282233.QAA13374

In the above message, you wrote:

> I am trying to install netcdf-3.4 on my Dec Alpha using Linux5.0
> (redhat).

I hope the peculiarities of your system won't be a problem.  We have a
DEC Alpha and we have Red Hat Linux, but we don't have an Alpha running
Linux.

> I have read various instructions in INSTALL, README, and
> various makefiles, as well as netcdfgroup news on the net.  There
> appeared little warnings and error messages in the steps of running
> "configure", "make all" when I started installing.  But problem
> occurred in the test step.  In run nc_test, a floating point exception
> occurred and test could not contiune after that.  I have tried various
> options with the C and F flags.  The same problem occurred.  Could you
> give me any clue on what could be the problem? (I have included all
> the logs files as instructed in INSTALL). Thanks for help.
> 
> 
> 
> B Shen-Tu
> Dept. Geosciences, SUNY at Stony BRook
> Stony Brook, NY 11794-2100
> Tel: 516-632-1114
> email: address@hidden
> 
> ****************************************
> 
> A.  output from "uname -a"
> Linux wellspring 2.0.32 #1 Tue Mar 3 13:22:12 EST 1998 alpha unknown
> 
> B. VERSION
> 3.4
> 
> C. C, C++, Fortran compilers
> /usr/bin/cc  (same as gcc 2.7.2.3), CFLAGS=-g
> /usr/bin/c++ (same as g++ 2.7.2.8)
> /usr/bin/mf77 (NDP Fortran for Alpha-Linux) FFLAGS=-O4
> 
> D. ********configure.log**********************
> creating cache ./config.cache
> checking for m4... m4
> checking for xlc... no

Apparently, you didn't define the CC environment variable to be
"/usr/bin/cc".  Is this true?

> checking for c89... no
> checking for acc... no
> checking for cc... cc
> checking C compiler... works
> checking how to make dependencies... false
> checking for CC... no

Apparently, you didn't define the CXX environment variable to be
"/usr/bin/c++".  Is this true?

> checking for cxx... no
> checking for c++... c++
> checking C++ compiler "c++"... works
> checking how to run the C preprocessor... cc -E
> checking user-defined Fortran compiler "mf77"... conftest.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> works
> checking for Fortran .F compiler... 
> checking if Fortran compiler handles *.F files... no
> checking for Fortran preprocessor... cc -E
> checking for C-equivalent to Fortran routine "SUB"... conftest.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> sub_
> checking for Fortran "byte"... conftest.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> yes
> checking for Fortran "integer*2"... conftest.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> yes
> checking if Fortran "byte" is C "signed char"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> no
> checking if Fortran "byte" is C "short"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> no
> checking if Fortran "byte" is C "int"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> no
> checking if Fortran "byte" is C "long"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> no
> checking if Fortran "integer*2" is C "short"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> yes

It appears that the mf77(1) "byte" integer type is not equivalent to a C
"signed char", "short", "int", or "long".  Would you please determine
what C type it is equivalent to?

> checking if Fortran "integer*2" is C "int"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> no
> checking if Fortran "integer*2" is C "long"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> no
> checking if Fortran "integer" is C "int"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> yes
> checking if Fortran "real" is C "float"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> yes
> checking if Fortran "doubleprecision" is C "double"... conftestf.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> yes
> checking for Fortran-equivalent to netCDF "byte"... conftest.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> byte
> checking for Fortran-equivalent to netCDF "short"... conftest.f:
> NDP Fortran-Alpha Ver 4.6.1c, Copyright (C) 1987-1997 Microway, Inc.
> gvs V2.15 Copyright (C) 1992-1997 DaLSoft, Inc. All rights reserved.
> integer*2
> checking for math library
> checking for -lc... no
> checking for -lm... yes
> checking for ar... ar
> checking for ranlib... ranlib
> checking for stdlib.h... yes
> checking for sys/types.h... yes
> checking for strerror... yes
> checking whether cross-compiling... no
> checking for working ftruncate()... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for st_blksize in struct stat... yes
> 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... no
> checking whether byte ordering is bigendian... no
> 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 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
> creating libsrc/ncconfig.h
> 
> E. **************config.log****************************
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:1020: cc -c -g  conftest.c 1>&5
> configure:1153: c++ -c   conftest.C 1>&5
> configure:1220: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:1319: mf77 -c -O4 conftest.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1422: mf77 -o conftest -O4 conftest.F  
> conftest.F: file not recognized: File format not recognized
> configure:1463: mf77 -c -O4 conftest.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1498: mf77 -c -O4 conftest.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1521: mf77 -c -O4 conftest.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1555: cc -c  -g conftest.c
> configure:1557: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1559: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1561: ./conftest
> configure:1602: cc -c  -g conftest.c
> configure:1604: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1606: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1608: ./conftest
> configure:1649: cc -c  -g conftest.c
> configure:1651: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1653: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1655: ./conftest
> configure:1696: cc -c  -g conftest.c
> configure:1698: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1700: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1702: ./conftest
> configure:1747: cc -c  -g conftest.c
> configure:1749: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1751: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1753: ./conftest
> configure:1794: cc -c  -g conftest.c
> configure:1796: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1798: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1800: ./conftest
> configure:1841: cc -c  -g conftest.c
> configure:1843: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1845: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1847: ./conftest
> configure:1890: cc -c  -g conftest.c
> configure:1892: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1894: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1896: ./conftest
> configure:1937: cc -c  -g conftest.c
> configure:1939: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1941: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1943: ./conftest
> configure:1984: cc -c  -g conftest.c
> configure:1986: mf77 -O4 -c conftestf.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:1988: mf77 -o conftest -O4  conftestf.o conftest.o 
> configure:1990: ./conftest
> configure:2023: mf77 -c -O4 conftest.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:2044: mf77 -c -O4 conftest.f
> abe V3.0 Copyright (C) 1993-1997 DaLSoft, Inc. All rights reserved.
> configure:2084: cc -o conftest -g   conftest.c -lc   1>&5
> /tmp/cca146501.o: In function `t':
> /usr/local/netcdf-3.4/src/configure:2080: undefined reference to `tanh'
> /usr/local/netcdf-3.4/src/configure:2080: undefined reference to `tanh'
> configure:2118: cc -o conftest -g   conftest.c -lm   1>&5
> configure:2213: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:2247: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:2297: cc -o conftest -g   conftest.c  1>&5
> configure:2331: cc -o conftest -g   conftest.c  1>&5
> configure:2398: cc -o conftest -g   conftest.c  1>&5
> configure:2428: cc -o conftest -g   conftest.c  1>&5
> configure:2476: cc -o conftest -g   conftest.c  1>&5
> configure:2644: cc -c -g  conftest.c 1>&5
> configure:2702: cc -o conftest -g   conftest.c  1>&5
> configure:2731: cc -E  conftest.c >/dev/null 2>conftest.out
> configure:2796: cc -o conftest -g   conftest.c  1>&5
> configure:3014: cc -o conftest -g   conftest.c  1>&5
> configure:3052: cc -c -g  conftest.c 1>&5
> configure:3068: cc -c -g  conftest.c 1>&5
> configure: In function `t':
> configure:3063: `not' undeclared (first use this function)
> configure:3063: (Each undeclared identifier is reported only once
> configure:3063: for each function it appears in.)
> configure:3063: parse error before `big'
> configure:3136: cc -o conftest -g   conftest.c  1>&5
> configure:3170: cc -o conftest -g   conftest.c  1>&5
> configure:3204: cc -o conftest -g   conftest.c  1>&5
> configure:3238: cc -o conftest -g   conftest.c  1>&5
> configure:3272: cc -o conftest -g   conftest.c  1>&5
> configure:3310: cc -o conftest -g   conftest.c  1>&5
> configure:3348: cc -o conftest -g   conftest.c  1>&5
> 
> F. *******************make.log*******************
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `all' in directory /usr/local/netcdf-3.4/src/libsrc
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/libsrc'
> cc -c -g -I.   attr.c
> cc -c -g -I.   dim.c
> cc -c -g -I.   error.c
> cc -c -g -I.   -DVERSION=`cat ../VERSION` libvers.c
> cc -c -g -I.   nc.c
> cc -c -g -I.   ncio.c
> cc -c -g -I.   ncx.c
> cc -c -g -I.   putget.c
> cc -c -g -I.   string.c
> cc -c -g -I.   v1hpg.c
> cc -c -g -I.   v2i.c
> cc -c -g -I.   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
> ranlib libnetcdf.a
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/libsrc'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `all' in directory /usr/local/netcdf-3.4/src/fortran
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/fortran'
> cc -c -g -I../libsrc   fort-attio.c
> cc -c -g -I../libsrc   fort-control.c
> cc -c -g -I../libsrc   fort-dim.c
> cc -c -g -I../libsrc   fort-genatt.c
> cc -c -g -I../libsrc   fort-geninq.c
> cc -c -g -I../libsrc   fort-genvar.c
> cc -c -g -I../libsrc   fort-lib.c
> cc -c -g -I../libsrc   fort-misc.c
> cc -c -g -I../libsrc   fort-v2compat.c
> cc -c -g -I../libsrc   fort-vario.c
> cc -c -g -I../libsrc   fort-var1io.c
> cc -c -g -I../libsrc   fort-varaio.c
> cc -c -g -I../libsrc   fort-varmio.c
> cc -c -g -I../libsrc   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
> ranlib ../libsrc/libnetcdf.a
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/fortran'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `all' in directory /usr/local/netcdf-3.4/src/ncdump
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/ncdump'
> cc -c -g -I../libsrc   ncdump.c
> cc -c -g -I../libsrc   vardata.c
> cc -c -g -I../libsrc   dumplib.c
> cc -o ncdump -g  ncdump.o vardata.o dumplib.o -L../libsrc -lnetcdf  
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/ncdump'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `all' in directory /usr/local/netcdf-3.4/src/ncgen
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/ncgen'
> cc -c -g -I../libsrc -I.   main.c
> cc -c -g -I../libsrc -I.   load.c
> cc -c -g -I../libsrc -I.   ncgentab.c
> cc -c -g -I../libsrc -I.   escapes.c
> cc -c -g -I../libsrc -I.   getfill.c
> cc -c -g -I../libsrc -I.   init.c
> cc -c -g -I../libsrc -I.   genlib.c
> cc -o ncgen -g  main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o 
> ../libsrc/libnetcdf.a  
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/ncgen'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `all' in directory /usr/local/netcdf-3.4/src/cxx
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/cxx'
> c++ -c -g  -I../libsrc   netcdf.cc
> c++ -c -g  -I../libsrc   ncvalues.cc
> ar cru         libnetcdf_c++.a netcdf.o ncvalues.o
> ranlib libnetcdf_c++.a
> c++ -c -g  -I../libsrc   nctst.cc
> c++ -o nctst -I../libsrc   -g   nctst.o libnetcdf_c++.a -L../libsrc -lnetcdf 
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/cxx'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> 
> 
> G. **************test.log************************
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `test' in directory /usr/local/netcdf-3.4/src/libsrc
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/libsrc'
> cc -c -g -I.   t_nc.c
> ar cru         libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o 
> putget.o string.o v1hpg.o v2i.o var.o
> ranlib libnetcdf.a
> cc -o t_nc -g  t_nc.o -L. -lnetcdf 
> ./t_nc
> dimrename: IXX
> nc_close ret = 0
> 
> reopen id = 6 for filename test.nc
> NC done
> GATTR VAR VATTR
> VATTR
> VATTR
> VATTR
> VATTR
> VATTR
> fill_seq indices       1 2 3  75.000000 != 2.718282
> Done
> got val = 3.250000
> got val = 0.000000
> got val = 2.718282
> got val = 82555
> got val = 97
> got NC_CHAR val = A (0x41) 
> got NC_CHAR val = B (0x42) 
> got NC_CHAR val = "The red death had long devastated the country."
> got val = A (0x41) 
> got val = B (0x42) 
> got val = "The red death had long devastated the country."
> got vals = 0.000000 ... 447.000000
> re nc_close ret = 0
> cmp test.nc test_nc.sav
> *** Success ***
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/libsrc'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `test' in directory /usr/local/netcdf-3.4/src/nctest
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/nctest'
> cc -c -g -I../libsrc   varget.c
> cc -c -g -I../libsrc   vargetg.c
> cc -c -g -I../libsrc   varput.c
> cc -c -g -I../libsrc   varputg.c
> cc -c -g -I../libsrc   vardef.c
> cc -c -g -I../libsrc   vartests.c
> cc -c -g -I../libsrc   vputget.c
> cc -c -g -I../libsrc   vputgetg.c
> cc -c -g -I../libsrc   driver.c
> cc -c -g -I../libsrc   cdftests.c
> cc -c -g -I../libsrc   dimtests.c
> cc -c -g -I../libsrc   rec.c
> cc -c -g -I../libsrc   atttests.c
> cc -c -g -I../libsrc   misctest.c
> cc -c -g -I../libsrc   add.c
> cc -c -g -I../libsrc   error.c
> cc -c -g -I../libsrc   emalloc.c
> cc -c -g -I../libsrc   val.c
> cc -c -g -I../libsrc   slabs.c
> cc -o nctest -g  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
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/nctest'
> 
> Returning to directory /usr/local/netcdf-3.4/src
> 
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make[1]: Entering directory `/usr/local/netcdf-3.4/src'
> 
> Making `test' in directory /usr/local/netcdf-3.4/src/nc_test
> 
> make[2]: Entering directory `/usr/local/netcdf-3.4/src/nc_test'
> cc -c -g -I../libsrc   nc_test.c
> cc -c -g -I../libsrc   error.c
> cc -c -g -I../libsrc   test_get.c
> cc -c -g -I../libsrc   test_put.c
> cc -c -g -I../libsrc   test_read.c
> cc -c -g -I../libsrc   test_write.c
> cc -c -g -I../libsrc   util.c
> cc -o nc_test -g  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
> make[2]: *** [test.nc] Floating point exception (core dumped)
> make[2]: *** Deleting file `test.nc'
> make[2]: Leaving directory `/usr/local/netcdf-3.4/src/nc_test'
> make[1]: *** [subdir_target] Error 1
> make[1]: Leaving directory `/usr/local/netcdf-3.4/src'
> make: *** [nc_test/test] Error 2

The above SIGFPE shouldn't happen because the file nc_test/nc_test.c
installs a SIGFPE signal handler which ignores SIGFPE.  Would you please
look near the top of the main() routine in nc_test/nc_test.c and verify
that this is the case?

--------
Steve Emmerson   <http://www.unidata.ucar.edu>