On Thu, Sep 5, 2013 at 8:56 AM, John Peterson <[email protected]> wrote:
> > > > On Wed, Sep 4, 2013 at 9:54 PM, subramanya sadasiva > <[email protected]>wrote: > >> Hi, >> I get the following errors with my code while writing the equations >> systems to file in parallel simulations >> >> >> Error writing sidesets >> Error writing element connectivities >> >> >> The trace follows, >> 0: libMesh::print_trace(std::ostream&) >> 1: libMesh::ExodusII_IO_Helper::write_sidesets(libMesh::MeshBase const&) >> 2: libMesh::ExodusII_IO::write_nodal_data(std::string const&, >> std::vector<double, std::allocator<double> > const&, >> std::vector<std::string, std::allocator<std::string> > const&) >> 0: libMesh::print_trace(std::ostream&) >> 1: libMesh::ExodusII_IO_Helper::write_elements(libMesh::MeshBase const&) >> 2: libMesh::ExodusII_IO::write_nodal_data(std::string const&, >> std::vector<double, std::allocator<double> > const&, >> std::vector<std::string, std::allocator<std::string> > const&) >> 33: >> libMesh::MeshOutput<libMesh::MeshBase>::write_equation_systems(std::string >> const&, libMesh::EquationSystems const&, std::set<std::string, >> std::less<std::string>, std::allocator<std::string> > const*) >> 4: >> libMesh::MeshOutput<libMesh::MeshBase>::write_equation_systems(std::string >> const&, libMesh::EquationSystems const&, std::set<std::string, >> std::less<std::string>, std::allocator<std::string> > const*) >> 4: DiffCode::output(int, double const&, double&, bool) >> 5: DiffCode::run() >> > > Hi, > > Can you try constructing a MeshSerializer object at the top of > the write_nodal_data() function? The same thing is already done > in ExodusII_IO::write_element_data() a few lines above, basically just add > this: > > MeshSerializer serialize(MeshInput<MeshBase>::mesh(), > !MeshOutput<MeshBase>::_is_parallel_format); > > and see if that fixes the crash? I "fixed" the write_element_data() > function by doing this a couple weeks ago, looks like I should have also > fixed this function the same way. > Subramanya, Did you try this fix? If so, what was the result? -- John ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
