Good afternoon dear community.
I am very interested in the Legion and especially the issue of interoperability with a MPI. Unfortunately, I couldn't find the information I needed. Could you explain how to call a Legion-program from a MPI-program? What is happening in this case? How to transfer control from one program to another? How to transfer data?
I will be grateful for any answer, even if it is one sentence per question. This is very important for my work, so I kindly ask you to help.
#include <mpi.h>
int main(int argc, char** argv) {
MPI_Init(args , argv);
//Calling Legion program
//??????????????????????
MPI_Finalize();
}
Thank you.