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 Mesh should be read on processor 0 and // broadcast later".
This comment seems to be present in most of the Mesh read implementations. 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 ? 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 ? Thanks in advance for any help you can offer. I've been trying to wrestle with this problem for the past 2 days and can't seem to get it working. Vijay ------------------------------------------------------------------------- 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
