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

[netCDF #GHF-580645]: Error Report



Hi Leonardo,

You have to use a more recent version of HDF5, 1.8.8 or later, with 
netCDF-4.3.2.

There was a bug in HDF5-1.8.7 that we didn't test for in the corresponding 
netCDF 
version 4.1.3. The current netCDF version 4.3.2 detects the HDF5 bug when built 
with HDF5-1.8.7 or earlier, but builds fine with HDF5 versions 1.8.8 and later. 
If 
you have to rebuild HDF5 from source anyway, I would recommend just using the 
latest version 1.8.12, as that's what we've done the most testing with.

--Russ

> ... I'm trying to build the netcdf 4.3.2 with the
> --netcdf-4 option.
> 
> The configure and make worked properly, but the make check returned this
> log.
> 
> =========================================
> netCDF 4.3.2: ncdump/test-suite.log
> =========================================
> 
> # TOTAL: 40
> # PASS:  38
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  2
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: tst_h_scalar
> ==================
> 
> HDF5-DIAG: Error detected in HDF5 (1.8.7) thread 0:
> #000: H5T.c line 1597 in H5Tcreate(): unable to create type
> major: Datatype
> minor: Unable to initialize object
> #001: H5T.c line 2990 in H5T_create(): type class is not appropriate -
> use H5Tcopy()
> major: Datatype
> minor: Feature is unsupported
> 
> *** Create file with datasets & attributes that have scalar
> dataspaces...Sorry! Unexpected result, tst_h_scalar.c, line: 123
> 
> FAIL: tst_h_scalar.sh
> =====================
> 
> 
> *** Running ncdump scalar test.
> 1a2,47
> > variables:
> > string vstrvar1 ;
> > string vstrvar1:vstratt1 = NIL ;
> > string vstrvar1:vstratt2 = NIL ;
> > string vstrvar1:vstratt3 = "" ;
> > string vstrvar1:vstratt4 = "foo" ;
> > vstrvar1:fstratt = "" ;
> > vstrvar1:intatt = 0 ;
> > string fstrvar ;
> > string fstrvar:vstratt1 = NIL ;
> > string fstrvar:vstratt2 = NIL ;
> > string fstrvar:vstratt3 = "" ;
> > string fstrvar:vstratt4 = "foo" ;
> > fstrvar:fstratt = "" ;
> > fstrvar:intatt = 0 ;
> > int intvar ;
> > string intvar:vstratt1 = NIL ;
> > string intvar:vstratt2 = NIL ;
> > string intvar:vstratt3 = "" ;
> > string intvar:vstratt4 = "foo" ;
> > intvar:fstratt = "" ;
> > intvar:intatt = 0 ;
> > string vstrvar2 ;
> > string vstrvar3 ;
> > string vstrvar4 ;
> >
> > // global attributes:
> > string :vstratt1 = NIL ;
> > string :vstratt2 = NIL ;
> > string :vstratt3 = "" ;
> > string :vstratt4 = "foo" ;
> > :fstratt = "" ;
> > :intatt = 0 ;
> > data:
> >
> >  vstrvar1 = NIL ;
> >
> >  fstrvar = _ ;
> >
> >  intvar = 0 ;
> >
> >  vstrvar2 = NIL ;
> >
> >  vstrvar3 = _ ;
> >
> >  vstrvar4 = "foo" ;
> 
> Att.,
> Leonardo.
> --
> Leonardo Carvalho de Jesus
> Free Surface Flow Laboratory
> Oceanography and Environmental Engineering
> Federal University of Espírito Santo
> Av Fernando Ferrari, 514, Campus Universitário Goiabeiras, 29075-910,
> Vitória - ES, Brazil
> 
> Tel: +55 (27) 4009-2256
> cv: http://lattes.cnpq.br/6010700264263096
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: GHF-580645
Department: Support netCDF
Priority: Normal
Status: Closed