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 using ParMetis ?

Unless you do it "right" reading in parallel can still be a
bottleneck.  One good way to do it seems to be to read from N
different mesh files in parallel.  This is the approach taken by the
NemesisIO code, which is still under development.  There was some talk
about parallel IO using the VTK stuff as well, but I don't know much
about the details.

> 2) Or if it is easier to read just using Processor 0, as the comment
> suggests, how exactly would you broadcast this information to all the
> other processors ? What am I missing here ?

I think you are talking about MeshCommunication::broadcast.  This
should get done for you automatically in cases where it needs to be
done.

-- 
John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to