I put this at the end of the main function in
    systems_of_equations_ex6:

      ExodusII_IO exo_io(mesh);
      exo_io.write_timestep("test.exo", equation_systems, 0, 0.);
      exo_io.write_element_data(equation_systems);

    and I got this error:

    Error writing nodal values.
    Stack frames: 9
    0: libMesh::print_trace(std::ostream&)
    1: libMesh::MacroFunctions::report_error(char const*, int, char
    const*, char const*)
    2: libMesh::ExodusII_IO_Helper::write_nodal_values(int,
    std::vector<double, std::allocator<double> > const&, int)
    3: 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&)
    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*)
    5: libMesh::ExodusII_IO::write_timestep(std::string const&,
    libMesh::EquationSystems const&, int, double)
    6: ./example-opt() [0x40cfa8]
    7: __libc_start_main
    8: ./example-opt() [0x40d32d]
    [0]
    /home/dknez/software/libmesh-src/src/mesh/exodusII_io_helper.C,
    line 1699, compiled Mar  6 2014 at 17:30:11
    application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0


Damn, yeah I don't know off the top of my head, would have to run it through debugger. You might also hit an assert in debug mode that would help...


yeah, I'll look at it tomorrow... Thanks.


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to