Running hybrid mpi4py and Charm4py programs (mpi interop) #191
matthiasdiener
started this conversation in
General
Replies: 2 comments
-
ccueto That’s looking great Juan, thanks for working on this so swiftly. I will try to test it on an example using charm4py and an MPI-based library by the end of this week, beginning of the next. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@juanjgalvez I have updated the example and instructions to run for Charm4py 1.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@juanjgalvez
Nov 30 2018
It is possible to run hybrid MPI/Charm4py programs. I have made an example (shown below) that mixes some MPI synchronous collectives with a non-trivial Charm workload. I have also been able to successfully run code that uses external MPI libraries, and have also run code that uses Isend/Irecv.
I have tested this on a Linux machine using OpenMPI. The requirement is to build Charm++ with the MPI layer. Here is an example of how to run the code:
Here is the example code (updated for Charm4py v1.0):
Beta Was this translation helpful? Give feedback.
All reactions