Thanks. ParallelMesh::allgather() is going to be pretty useful for me. Yes, my part of the code that would run in the entire mesh would be pretty small. Could I rebuild the ParallelMesh in each processor once I'm done? Also, one question related with MPI and clusters. I have little experience on clusters, only some homework on MPI. I've thought of compiling my program with static libraries and avoid the hassle of installing the libraries on the cluster. Is this a recommended option? Is this possible with libmesh?
Miguel On Wed, Aug 27, 2014 at 9:49 AM, Roy Stogner <[email protected]> wrote: > > On Wed, 27 Aug 2014, Miguel Angel Salazar de Troya wrote: > > > Is there a command to collect the entire mesh in just one processor? > > Something like a MPI_gather ? Maybe the > > Parallel::Communicator::gather but with a std::vector of elements? > > ParallelMesh::allgather() does what you want, but at that point the > mesh is just a less efficient SerialMesh; unless you can drastically > limit the part of the code where serialization is necessary you might > as well use a SerialMesh to begin with. > --- > Roy > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users > -- *Miguel Angel Salazar de Troya* Graduate Research Assistant Department of Mechanical Science and Engineering University of Illinois at Urbana-Champaign (217) 550-2360 [email protected] ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
