On 06/18/2011 02:00 PM, netcdfgroup-request@xxxxxxxxxxxxxxxx wrote:
netCDF C/Fortran/C++ 4.1.3 release...
I'm running into problems building the latest release. Here's my configure:CPPFLAGS="-fPIC -I/usr/local/zlib-1.2.5/include -I/usr/local/szip-2.1/include -I/usr/local/hdf5-1.8.7/include" LDFLAGS="-L/usr/local/zlib-1.2.5/lib -L/usr/local/szip-2.1/lib -L/usr/local/hdf5-1.8.7/lib" ./configure --prefix=/usr/local/netcdf-4.1.3 --disable-dap
Configure works fine. Then I invoke make. Here's a strange warning:/bin/bash ../libtool --tag=FC --mode=compile gfortran -g -O2 -c -o netcdf4.lo netcdf4.f90
libtool: compile: gfortran -g -O2 -c netcdf4.f90 -fPIC -o .libs/netcdf4.o netcdf_text_variables.f90:60.93: Included at netcdf4.f90:58:numDims ) = (/ 1, (product(localCount(:counter)), counter = 1, numDims - 1) /)
1 Warning: DO loop at (1) will be executed zero times make check failed:gfortran -I../fortran -I../f90 -I../f90 -I../include -g -O2 -c -o f90tst_vars2.o f90tst_vars2.f90
f90tst_vars2.f90:37.34:integer, parameter :: CACHE_SIZE = 8, CACHE_NELEMS = 571, CACHE_PREEMPTION =
1 Error: Symbol 'cache_size' at (1) already has basic type of INTEGER f90tst_vars2.f90:86.37: CACHE_NELEMS, CACHE_PREEMPTION)) 1 Error: Symbol 'cache_preemption' at (1) has no IMPLICIT type f90tst_vars2.f90:77.13:call check(nf90_def_var(ncid, VAR5_NAME, NF90_INT, dimids, varid5, chunksizes
1 Error: There is no specific function for the generic 'nf90_def_var' at (1) make[2]: *** [f90tst_vars2.o] Error 1 make[2]: Leaving directory `/usr/local/src/netcdf-4.1.3/nf_test' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/usr/local/src/netcdf-4.1.3/nf_test' make: *** [check-recursive] Error 1 Attached are all of the relevant logs. Chad
Attachment:
netcdf4-fail.tar.gz
Description: GNU Zip compressed data
netcdfgroup
archives: