[CIG-SHORT] pylith1.6.3 install error

Birendra jha bjha7333 at yahoo.com
Wed Mar 27 09:18:33 PDT 2013


Hi Brad

I am getting following error on DataWriter during compile. I remember seeing this earlier but I don't know how to search the mailing list archive:

In file included from ../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriter.hh:151,
                 from ../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriterHDF5.hh:45,
                 from ../../../pylith-1.6.3/libsrc/pylith/problems/Formulation.cc:500:
../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriter.cc: In member function ‘virtual void pylith::meshio::DataWriter<mesh_type, field_type>::open(const mesh_type&, int, const char*, int)’:
../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriter.cc:77: error: reference to ‘ostringstream’ is ambiguous
/dbstudi5/DBIPET3/PRJ_RD_SIM_102011/Tools/Pylith/pylith/include/sieve/ALE_exception.hh:8: error: candidates are: typedef struct std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > ostringstream
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iosfwd:134: error:                 typedef struct std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > std::ostringstream
../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriter.cc:77: error: reference to ‘ostringstream’ is ambiguous
/dbstudi5/DBIPET3/PRJ_RD_SIM_102011/Tools/Pylith/pylith/include/sieve/ALE_exception.hh:8: error: candidates are: typedef struct std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > ostringstream
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iosfwd:134: error:                 typedef struct std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > std::ostringstream
../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriter.cc:77: error: expected ‘;’ before ‘s’
../../../pylith-1.6.3/libsrc/pylith/meshio/DataWriter.cc:78: error: ‘s’ was not declared in this scope
make[4]: *** [Formulation.lo] Error 1
make[4]: Leaving directory `/nm/siful2/dbstudi5/DBIPET3/PRJ_RD_SIM_102011/Tools/Pylith/build/pylith/pylith-build/libsrc/pylith'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/nm/siful2/dbstudi5/DBIPET3/PRJ_RD_SIM_102011/Tools/Pylith/build/pylith/pylith-build/libsrc/pylith'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/nm/siful2/dbstudi5/DBIPET3/PRJ_RD_SIM_102011/Tools/Pylith/build/pylith/pylith-build/libsrc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nm/siful2/dbstudi5/DBIPET3/PRJ_RD_SIM_102011/Tools/Pylith/build/pylith/pylith-build'
make: *** [all] Error 2

Please help.

Birendra


--- On Wed, 3/27/13, Brad Aagaard <baagaard at usgs.gov> wrote:

> From: Brad Aagaard <baagaard at usgs.gov>
> Subject: Re: [CIG-SHORT] pylith1.6.3 install error
> To: cig-short at geodynamics.org
> Date: Wednesday, March 27, 2013, 8:34 PM
> Birendra,
> 
> This error suggests incompatibilities in the Python being
> used when 
> building PyLith and that used to build spatialdata. Check
> the config.log 
> from configuring spatialdata and config.log from configuring
> PyLith and 
> make sure PYTHON is set to the same binary. Note that the
> paths for the 
> tests are set at the time of running configure, not your
> current paths.
> 
> Regards,
> Brad
> 
> On 3/27/13 6:26 AM, Birendra jha wrote:
> > Dear Pylith developers
> >
> > I am trying to install pylith-1.6.3. I need this
> version specifically and I have installed it before without
> any problem.
> >
> > I get following error related to spatialdata. Please
> help:
> >
> > N6pylith2bc21TestBoundaryConditionE::testLabel : OK
> >
> N6pylith2bc27TestBoundaryConditionPointsE::testGetPoints :
> OK
> > N6pylith2bc17TestTimeDependentE::testDBInitial : OK
> > N6pylith2bc17TestTimeDependentE::testDBRate : OK
> > N6pylith2bc17TestTimeDependentE::testDBChange : OK
> > N6pylith2bc17TestTimeDependentE::testDBTimeHistory :
> OK
> >
> N6pylith2bc17TestTimeDependentE::testVerifyConfiguration :
> OK
> > N6pylith2bc23TestTimeDependentPointsE::testBCDOF : OK
> > N6pylith2bc23TestTimeDependentPointsE::testGetLabel :
> OK
> >
> N6pylith2bc23TestTimeDependentPointsE::testQueryDatabaseslt-testbc:
> ../../spatialdata-1.8.1/libsrc/units/Parser.cc:36:
> spatialdata::units
> > ::Parser::Parser(): Assertion `0 != mod' failed.
> > [0]PETSC ERROR:
> ------------------------------------------------------------------------
> > [0]PETSC ERROR: Caught signal number 11 SEGV:
> Segmentation Violation, probably memory access out of range
> >
> >
> > thanks
> > Birendra
> >
> >
> >
> > _______________________________________________
> > CIG-SHORT mailing list
> > CIG-SHORT at geodynamics.org
> > http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
> >
> 
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
> 


More information about the CIG-SHORT mailing list