What's the difference between .xda and .xdr? Last time I pulled libmesh was a couple months ago. I'm going to fetch and try again. Before that, leaving just EquationSystems::READ_DATA and write and reading the file as "eq_output.xda" in the argument still gives me the same error.
I've also realized that EquationSystems::write() doesn't record the mesh information, does it? That means we should be careful the mesh matches the mesh we called EquationSystems::write() with. Is there anyway to load all this information? For instance, I can record all this information with an ExodusII_IO object for plotting purposes. Can I load it and use it in my mesh and EquationSystems? Thanks Miguel On Nov 17, 2015 08:59, "Roy Stogner" <royst...@ices.utexas.edu> wrote: > > On Tue, 17 Nov 2015, Miguel Angel Salazar de Troya wrote: > > equation_systems.read("./eq_output", READ, EquationSystems::READ_DATA | >> EquationSystems::READ_ADDITIONAL_DATA, true) >> >> gives me this message error >> >> ********************************************************************* >> >> READING THE FILE "./EQ_output" FAILED. >> >> It is possible this file contains infinite element information, >> > > Yeah, that's a red herring. > > What version of libMesh are you using? Up until recently we had a > design flaw that required you to match the READ_ADDITIONAL_DATA > specification or lack thereof when reading and writing files. > > Try with just READ_DATA? > > I'm assuming that eq_output is an xda file, not an xdr file? (you > ought to use extensions; that will let our NamedIO class work as > well) If it's xdr you need DECODE instead of READ. > --- > Roy > ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users