On Mon, 20 Jun 2016, 张江 wrote:
I am writing a parallel application program. It seems that libmesh already
packaged the MPI communication by Parallel::Communicator.
I intend to read and partition the unstructured data using libmesh library
(including the use of Communicator for parallel purpose), and complete other
parts of my application using the original MPI library.
So I am wondering that, how can I combine the use of libmesh Communicator and
the original MPI library? Or can you give me an example?
You can construct a Communicator directly from an MPI_Comm argument,
and you can get a reference to an MPI_Comm via Communicator::get().
---
Roy
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users