Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Kirk, Benjamin (JSC-EG)
ay S. Mahadevan <[EMAIL PROTECTED]> To: Kirk, Benjamin (JSC-EG) Cc: John Peterson <[EMAIL PROTECTED]>; [email protected] Sent: Wed Oct 29 16:27:26 2008 Subject: Re: [Libmesh-users] Mesh reading in parallel Ben, Currently, I do read the file via MeshBase::read() but

Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Kirk, Benjamin (JSC-EG)
ee if there might be a > straightforward way to send out mesh data as well. > > -Ben > > > - Original Message - > From: Vijay S. Mahadevan <[EMAIL PROTECTED]> > To: Kirk, Benjamin (JSC-EG) > Cc: John Peterson <[EMAIL PROTECTED]>; > libmesh-users@lis

Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Vijay S. Mahadevan
> straightforward way to send out mesh data as well. > > -Ben > > > - Original Message - > From: Vijay S. Mahadevan <[EMAIL PROTECTED]> > To: Kirk, Benjamin (JSC-EG) > Cc: John Peterson <[EMAIL PROTECTED]>; > [email protected] > Sent: We

Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Vijay S. Mahadevan
Ben, Currently, I do read the file via MeshBase::read() but since you do not distribute the mesh_data information along with the mesh (even though I pass it to the read function), I seem to have quite a few problems. My code primarily relies on mesh_data information to associate material data, att

Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Benjamin S. Kirk
> John, > > Thanks for the quick reply ! > > I was just reading about MPI File Read functions > (http://www-unix.mcs.anl.gov/mpi/www/) and I'm thinking that this is > possible without too much of a hassle. If we can make the mesh readers > take the stringstream as input instead of IFstream, there i

Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Vijay S. Mahadevan
John, Thanks for the quick reply ! I was just reading about MPI File Read functions (http://www-unix.mcs.anl.gov/mpi/www/) and I'm thinking that this is possible without too much of a hassle. If we can make the mesh readers take the stringstream as input instead of IFstream, there is absolutely n

Re: [Libmesh-users] Mesh reading in parallel

2008-10-29 Thread John Peterson
On Wed, Oct 29, 2008 at 2:10 PM, Vijay S. Mahadevan <[EMAIL PROTECTED]> wrote: > 1) My question then is whether it is difficult to make the reading > parallel so that all the processors get the mesh points, elements and > mesh_data ? But then how would this translate when you partition the > mesh

[Libmesh-users] Mesh reading in parallel

2008-10-29 Thread Vijay S. Mahadevan
Hi, I am currently trying to read a mesh file in GMsh format in a parallel environment. But I kept hitting assertion errors and seg faults before I realized that the code shows only the processor 0 reads the mesh file and a comment before it states "// This is a serial-only process for now; // the