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

[netCDF #YSK-548213]: netcdf-4.2 CPP installation



Hi Si,

> I compiled the latest hdf5-1.8.9 on bluefire and recompiled netcdf4.2.
> There is no problem for 'configure' and 'make' but there is one error
> when I 'make check'.
> 
> The error message is attached.
> Thank you for all your help.
> Sincerely Si
> 
> Test creation of classic format fileError!
> FAIL: test_classic

I've tried this on our Linux Fedora system with HDF5-1.8.9 and netCDF-4.2
installed, and all the tests pass, including the one above that fails
on bluefire.  The original developer of netcdf-cxx4 also can't duplicate
the problem, and has no access to bluefire.

It's possible that if I had access to a system equivalent to bluefire on
which the failure occurred, I could debug it, assuming you have g++ and a 
working version of gdb.

Does the error also occur on one of the mirage hosts I'm familiar with, and
if so, could you tell me where netCDF-4.2 and HDF5-1.8.9 are installed, so
I could build netcdf-cxx4 for debugging?

If it only occurs on bluefire, could you provide me with the information
necessary to build it for debugging (I think I would need to use g++
flags '-g3 -O0 -fno-inline' or something equivalent).

I haven't done much with C++ lately, so debugging this problem may take a
while ...

--Russ

> Opening file "firstFile.cdf" with NcFile::replace
> Testing addGroup("groupName")                         -----------
> passed
> Testing getGroupCount([netCDF::Location])             -----------
> passed
> Testing getGroups([netCDF::Location])                 -----------
> passed
> Testing getGroups("name",[netCDF::Location])          -----------
> passed
> Testing getGroup("name",[netCDF::Location])           -----------
> passed
> Testing getParentGroup()                              -----------
> passed
> PASS: test_group
> Opening file "firstFile.cdf" with NcFile::replace
> Testing addGroup("groupName")                              -----------
> passed
> Testing addDim("dimensionName")                            -----------
> passed
> Testing NcDim::isUnlimited()                               -----------
> passed
> Testing NcDim::isNull()                                    -----------
> passed
> Testing NcDim::getSize()                                   -----------
> passed
> Testing NcDim::getParentGroup()                            -----------
> passed
> Testing NcDim::getName()                                   -----------
> passed
> Testing NcGroup::getDimCount([netCDF::Location])           -----------
> passed
> Testing NcGroup::getDims([netCDF::Location])               -----------
> passed
> Testing NcGroup::getDims("name",[netCDF::Location])        -----------
> passed
> Testing NcGroup::getDim("name",[netCDF::Location])         -----------
> passed
> PASS: test_dim
> Opening file "firstFile.cdf" with NcFile::replace
> Testing addGroup("groupName")                              -----------
> passed
> Testing putAtt("attName","typeName",len,dataValues)    unknown error
> PASS: test_att
> Opening file "firstFile.cdf" with NcFile::replace
> Testing addGroup("groupName")                              -----------
> passed
> Testing addDim("dimensionName")                            -----------
> passed
> Testing addVar("varName","typeName","dimName")         unknown error
> PASS: test_var
> unknown error
> PASS: test_var2
> Opening file "firstFile.cdf" with NcFile::replace
> Testing addGroup("groupName")
> -----------   passed
> Testing getName()                                        unknown error
> PASS: test_type
> ================================================
> 1 of 7 tests failed
> Please report to address@hidden
> ================================================
> make[2]: Leaving directory
> `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> make[1]: Leaving directory
> `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Wed, 23 May 2012 09:10:58 -0600
> "Unidata netCDF Support" <address@hidden> wrote:
> >> Hi Russ,
> >>
> >> Could this be a 64-bit related problem? It is surprising that it
> >>works
> >> on other systems.
> >> It is difficult to investigate as I don't have the same
> >>hardware/software.
> >
> > OK, I'll see if we can reproduce it here.
> >
> >> By the way, I am a bit stuck with the netCDF C++ API development I
> >>was
> >> doing. If you remember
> >> I spent a lot of time to develop an improved method of dealing with
> >> general user-defined types.
> >> During testing I have encountered problem in the C-layer which
> >>Dennis
> >> needs to fix.
> >> But I haven't heard from him on this  since February.  I think that
> >>the
> >> problem is that
> >> user-defined structures don't tend to be widely used, resulting in
> >>some
> >> residual bugs.
> >
> > I think Dennis had diagnosed the problem as being in HDF5.  A new
> >release,
> > HDF5 version 1.8.9, has just been made available, and it's possible
> >that
> > has fixed the bug, but we haven't tried it yet.  Maybe later this
> >week ...
> >
> > --Russ
> >
> >> On 05/23/2012 02:54 AM, Unidata netCDF Support wrote:
> >> > Hi Lynton,
> >> >
> >> > I'm forwarding this post from the NCAR Computational Information
> >>Systems
> >> > Laboratory consultants, in case you have a fix for the problem ...
> >> >
> >> > Thanks!
> >> >
> >> > --Russ
> >> >
> >> > Si Liu Posted on: 20120522.1612 MDT
> >> > ================================================================
> >> > Hi,
> >> > I am trying to compile netcdf-CXX4 on Bluefire(IBM AIX).
> >> > But get one failure when running make check(attached).
> >> > The configure goes smoothly.
> >> > Do you have any hint?
> >> >
> >> > Thanks,
> >> > Si
> >> >
> >> >
> >> > Making check in cxx4
> >> > make[1]: Entering directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> >> > make[2]: Entering directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq'
> >> > make[2]: Leaving directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq'
> >> > make  test_classic test_group test_dim test_att test_var test_var2
> >> > test_type
> >> > make[2]: Entering directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> >> > make[3]: Entering directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq'
> >> > make[3]: Leaving directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq'
> >> > make[2]: `test_classic' is up to date.
> >> > make[2]: `test_group' is up to date.
> >> > make[2]: `test_dim' is up to date.
> >> > make[2]: `test_att' is up to date.
> >> > make[2]: `test_var' is up to date.
> >> > make[2]: `test_var2' is up to date.
> >> > make[2]: `test_type' is up to date.
> >> > make[2]: Leaving directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> >> > make  check-TESTS
> >> > make[2]: Entering directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> >> > make[3]: Entering directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq'
> >> > make[3]: Leaving directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq'
> >> > Test creation of classic format fileError!
> >> > FAIL: test_classic
> >> > Opening file "firstFile.cdf" with NcFile::replace
> >> > Testing addGroup("groupName")                         -----------
> >> >    passed
> >> > Testing getGroupCount([netCDF::Location])             -----------
> >> >    passed
> >> > Testing getGroups([netCDF::Location])                 -----------
> >> >    passed
> >> > Testing getGroups("name",[netCDF::Location])          -----------
> >> >    passed
> >> > Testing getGroup("name",[netCDF::Location])           -----------
> >> >    passed
> >> > Testing getParentGroup()                              -----------
> >> >    passed
> >> > PASS: test_group
> >> > Opening file "firstFile.cdf" with NcFile::replace
> >> > Testing addGroup("groupName")
> >>                             -----------
> >> >    passed
> >> > Testing addDim("dimensionName")
> >>                           -----------
> >> >    passed
> >> > Testing NcDim::isUnlimited()
> >>                              -----------
> >> >    passed
> >> > Testing NcDim::isNull()
> >>                                   -----------
> >> >    passed
> >> > Testing NcDim::getSize()
> >>                                  -----------
> >> >    passed
> >> > Testing NcDim::getParentGroup()
> >>                           -----------
> >> >    passed
> >> > Testing NcDim::getName()
> >>                                  -----------
> >> >    passed
> >> > Testing NcGroup::getDimCount([netCDF::Location])
> >>          -----------
> >> >    passed
> >> > Testing NcGroup::getDims([netCDF::Location])
> >>              -----------
> >> >    passed
> >> > Testing NcGroup::getDims("name",[netCDF::Location])
> >>       -----------
> >> >    passed
> >> > Testing NcGroup::getDim("name",[netCDF::Location])
> >>        -----------
> >> >    passed
> >> > PASS: test_dim
> >> > Opening file "firstFile.cdf" with NcFile::replace
> >> > Testing addGroup("groupName")
> >>                             -----------
> >> >    passed
> >> > Testing putAtt("attName","typeName",len,dataValues)    unknown
> >>error
> >> > PASS: test_att
> >> > Opening file "firstFile.cdf" with NcFile::replace
> >> > Testing addGroup("groupName")
> >>                             -----------
> >> >    passed
> >> > Testing addDim("dimensionName")
> >>                           -----------
> >> >    passed
> >> > Testing addVar("varName","typeName","dimName")         unknown
> >>error
> >> > PASS: test_var
> >> > unknown error
> >> > PASS: test_var2
> >> > Opening file "firstFile.cdf" with NcFile::replace
> >> > Testing addGroup("groupName")
> >> >                                 -----------   passed
> >> > Testing getName()                                        unknown
> >>error
> >> > PASS: test_type
> >> > ================================================
> >> > 1 of 7 tests failed
> >> > Please report to address@hidden
> >> > ================================================
> >> > make[2]: *** [check-TESTS] Error 1
> >> > make[2]: Leaving directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> >> > make[1]: *** [check-am] Error 2
> >> > make[1]: Leaving directory
> >> > `/glade/home/siliu/Bluefire/netcdf/netcdf-cxx4-4.2_seq/cxx4'
> >> > make: *** [check-recursive] Error 1
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > Si Liu
> >> > Consulting Services Group
> >> > NCAR Computational&  Information Services Laboratory
> >> > Knowledge Management Chair of SEA
> >> > Office: Mesa Lab, Room 51A
> >> > Phone: (303) 497-2430
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > Russ Rew                                         UCAR Unidata
> >>Program
> >> > address@hidden
> >>                     http://www.unidata.ucar.edu
> >> >
> >> >
> >> >
> >> > Ticket Details
> >> > ===================
> >> > Ticket ID: YSK-548213
> >> > Department: Support netCDF
> >> > Priority: Normal
> >> > Status: Closed
> >> >
> >>
> >>
> >
> > Russ Rew                                         UCAR Unidata
> >Program
> > address@hidden
> >                     http://www.unidata.ucar.edu
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: YSK-548213
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
> 
> Si Liu
> Consulting Services Group
> NCAR Computational & Information Services Laboratory
> Knowledge Management Chair of SEA
> Office: Mesa Lab, Room 51A
> Phone: (303) 497-2430
> 
> 
Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: YSK-548213
Department: Support netCDF
Priority: Normal
Status: Closed