Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-19 Thread Roy Stogner
On Tue, 19 Jan 2016, Roy Stogner wrote: > In the short term the workaround ought to be to use > WRITE_SERIAL_FILES; I'm not sure that's working but if it's not I'll > try to fix it ASAP. WRITE_SERIAL_FILES | WRITE_DATA works. Parallel xda mesh support ought to be relatively easy to add, but I'm

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-19 Thread Roy Stogner
On Thu, 14 Jan 2016, Roy Stogner wrote: > You know what? It doesn't for me either, my previous reports to the > contrary. But that use case *should* work, and does work on lots of > other meshes I've tried. I'll keep looking into it. And now I think I understand the problem. Our solution res

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-14 Thread Derek Gaston
You may be interested in the "Checkpoint" mesh format: https://github.com/libMesh/libmesh/blob/master/include/mesh/checkpoint_io.h It is still XDR based... but basically just writes out the raw mesh as it sits on each processor and then reads it back in during a restart. Because of this you have

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-14 Thread Salazar De Troya, Miguel
I didn’t know the numbering could change. Now it makes sense. Thanks. Sincerely, Miguel A. Salazar de Troya Graduate Scholar, Lawrence Livermore National Laboratory Ph.D. Candidate, University of Illinois at Urbana-Champaign T1878 Rm: 112 Ext: 2-6411 L-code: 288 On 1/14/16, 11:13 AM, "Roy Sto

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-14 Thread Roy Stogner
On Thu, 14 Jan 2016, Salazar De Troya, Miguel wrote: Sorry the last statement is wrong. Leaving partition_agnostic=true with a SerialMesh doesn’t return the same assertion error, but the vector written and the vector read are not the same when I print them. The values seem to be in different or

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-14 Thread Salazar De Troya, Miguel
Sorry the last statement is wrong. Leaving partition_agnostic=true with a SerialMesh doesn’t return the same assertion error, but the vector written and the vector read are not the same when I print them. The values seem to be in different order. Miguel A. Salazar de Troya Graduate Scholar, Lawr

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-14 Thread Salazar De Troya, Miguel
Leaving partition_agnostic=true gives me the same assertion error on SerialMesh as well. Sincerely, Miguel A. Salazar de Troya Graduate Scholar, Lawrence Livermore National Laboratory Ph.D. Candidate, University of Illinois at Urbana-Champaign T1878 Rm: 112 Ext: 2-6411 L-code: 288 On 1/14/16,

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-14 Thread Salazar De Troya, Miguel
In that case, what would be the compatible way to restart the mesh if I still leave partition_agnostic=false? What would be the way to fix the code? Leaving partition_agnostic=true doesn¹t avoid the assertion either for me. Sincerely, Miguel A. Salazar de Troya Graduate Scholar, Lawrence Livermor

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-13 Thread Roy Stogner
On Wed, 13 Jan 2016, Roy Stogner wrote: On Tue, 12 Jan 2016, Salazar De Troya, Miguel wrote: I’m attaching a simple code that illustrates the problem. I open a mesh (l_problem.xda) and perform a uniform refinement (if I don’t, there are no problems), then I create an ExplicitSystem and ass

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-13 Thread Roy Stogner
On Tue, 12 Jan 2016, Salazar De Troya, Miguel wrote: I’m attaching a simple code that illustrates the problem. I open a mesh (l_problem.xda) and perform a uniform refinement (if I don’t, there are no problems), then I create an ExplicitSystem and assign random values to its solution. I print th

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-12 Thread Salazar De Troya, Miguel
Sorry I sent the email to only John Peterson by mistake. The code is here http://paste.ofcode.org/XqU3mKRdgGnQQZRveVwKRr and the l_problem.xda file: http://justpaste.it/qe3i Is it possible to attach files on this mail list? I did that for my original message by it looks like it didn¹t get through.

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-12 Thread Roy Stogner
On Tue, 12 Jan 2016, John Peterson wrote: >> I get this assertion error: >> >> >> Assertion `cnt < io_buffer.size()' failed. >> >> cnt = 12755 >> >> io_buffer.size() = 12755 Hmm... I'm seeing the same assertion error on a ParallelMesh restart of a "slit mesh", with overlapping nodes, but I haven

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-12 Thread Salazar De Troya, Miguel
alazar mailto:salazardet...@llnl.gov>> Cc: "libmesh-users@lists.sourceforge.net<mailto:libmesh-users@lists.sourceforge.net>" mailto:libmesh-users@lists.sourceforge.net>> Subject: Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts On Tue, Jan 12, 2016 at

Re: [Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-12 Thread John Peterson
On Tue, Jan 12, 2016 at 11:17 AM, Salazar De Troya, Miguel < salazardet...@llnl.gov> wrote: > Hello > > I’m attaching a simple code that illustrates the problem. I open a mesh > (l_problem.xda) and perform a uniform refinement (if I don’t, there are no > problems), then I create an ExplicitSystem

[Libmesh-users] ParallelMesh, SerialMesh and simulation restarts

2016-01-12 Thread Salazar De Troya, Miguel
Hello I’m attaching a simple code that illustrates the problem. I open a mesh (l_problem.xda) and perform a uniform refinement (if I don’t, there are no problems), then I create an ExplicitSystem and assign random values to its solution. I print the solution for verification purposes. I save bo