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

[netCDF #MAW-926067]: make check fails for 4.1.3



Greetings!

I see a few issues, particularly in your config log:

1) configure cannot find zlib - you may need to install zlib-devel from your 
system package manager.
2) configure cannot find curl - make sure curl is installed on your system. 
3) You are using ifort v11. It seems the -mp1 optimization flag has been 
obsolete since v10. You should probably remove that from your fortran flags.

Also, it looks like you are using szlib. We recently found some issues with 
netCDF and szlib but have since updated the netCDF library to fix them (the 
tests were failing, but that has been resolved), but you will need to download 
the nightly build. Would you mind downloading and trying the nightly build of 
netCDF found at:

ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz

Thanks!

Sean

> Dear Sean,
> 
> attached please find a UNIX compressed archive which contains the desired 
> information.
> I used the following environment settings to start configure:
> 
> export CC=gcc
> export CXX=g++
> export FC=ifort
> export F77=ifort
> export CFLAGS="-fpic -I/lrz/sys/libraries/netcdf/hdf5_1.8.7/include"
> export CXXFLAGS="-fpic"
> export FFLAGS="-O2 -mp1 -fpic"
> export FCFLAGS="-O2 -mp1 -fpic"
> export LDFLAGS=-L/lrz/sys/libraries/netcdf/hdf5_1.8.7/lib
> 
> Best Regards
> Reinhold
> 
> ________________________________________
> Von: Unidata netCDF Support [address@hidden]
> Gesendet: Freitag, 8. Juli 2011 15:00
> Bis: Bader, Reinhold
> Cc: address@hidden
> Betreff: [netCDF #MAW-926067]: make check fails for 4.1.3
> 
> Greetings Dr. Bader,
> 
> Would you please send the full configure, make, and make check logs? I think 
> I've seen this before, but checking out the logs will be most helpful.
> 
> Thanks!
> 
> Sean Arms
> 
> > Dear Unidata NetCDF support,
> >
> > when trying to do a "make check" on a build of 4.1.3 using ifort 11.1 as 
> > Fortran compiler, I get a
> > failure:
> >
> > libtool: link: ifort -I../../netcdf-4.1.3/fortran -I../f90 -I../f90 
> > -I../../netcdf-4.1.3/include -O2 -mp1 -fpic -o .libs/f90tst_vars4 
> > f90tst_vars4.o  -L/lrz/sys/libraries/netcdf/hdf5_1.8.7/lib 
> > ../fortran/.libs/libnetcdff.so -L/lrz/sys/libraries/hdf5/szip_2.1_u1/lib 
> > /lrz/noarch/src/netcdf/build_x86_64/liblib/.libs/libnetcdf.so 
> > /lrz/sys/libraries/netcdf/hdf5_1.8.7/lib/libhdf5_hl.so 
> > /lrz/sys/libraries/netcdf/hdf5_1.8.7/lib/libhdf5.so 
> > /lrz/sys/libraries/hdf5/szip_2.1_u1/lib/libsz.so -lm -lz -Wl,-rpath 
> > -Wl,/lrz/sys/libraries/netcdf/4.1.3/lib -Wl,-rpath 
> > -Wl,/lrz/sys/libraries/netcdf/hdf5_1.8.7/lib -Wl,-rpath 
> > -Wl,/lrz/sys/libraries/hdf5/szip_2.1_u1/lib
> > ifort  -I../../netcdf-4.1.3/fortran -I../f90 -I../f90 
> > -I../../netcdf-4.1.3/include   -O2 -mp1 -fpic -c -o f90tst_vars2.o  
> > ../../netcdf-4.1.3/nf_test/f90tst_vars2.f90
> > ../../netcdf-4.1.3/nf_test/f90tst_vars2.f90(37): error #6418: This name has 
> > already been assigned a data type.   [CACHE_SIZE]
> > integer, parameter :: CACHE_SIZE = 8, CACHE_NELEMS = 571, CACHE_PREEMPTION 
> > = 66
> > ------------------------^
> > ../../netcdf-4.1.3/nf_test/f90tst_vars2.f90(37): error #6418: This name has 
> > already been assigned a data type.   [CACHE_NELEMS]
> > integer, parameter :: CACHE_SIZE = 8, CACHE_NELEMS = 571, CACHE_PREEMPTION 
> > = 66
> > ----------------------------------------^
> > ../../netcdf-4.1.3/nf_test/f90tst_vars2.f90(77): error #6284: There is no 
> > matching specific function for this generic function reference.   
> > [NF90_DEF_VAR]
> > call check(nf90_def_var(ncid, VAR5_NAME, NF90_INT, dimids, varid5, 
> > chunksizes = chunksizes, &
> > -------------^
> > ../../netcdf-4.1.3/nf_test/f90tst_vars2.f90(85): error #6404: This name 
> > does not have a type, and must have an explicit type.   
> > [NF90_SET_VAR_CHUNK_CACHE]
> > call check(nf90_set_var_chunk_cache(ncid, varid1, CACHE_SIZE, &
> > -------------^
> >
> >
> > Regards
> >
> >
> > --
> > Dr. Reinhold Bader
> >
> > Leibniz Supercomputing Centre (http://www.lrz.de) / HPC Support
> > Tel. +49 89 35831 8825 - Fax  +49 89 35831 8625
> >
> >
> >
> 
> 
> Ticket Details
> ===================
> Ticket ID: MAW-926067
> Department: Support netCDF
> Priority: Normal
> Status: Open
> 
> 
> 


Ticket Details
===================
Ticket ID: MAW-926067
Department: Support netCDF
Priority: Normal
Status: Open