Want to ask is there any way to launch mpi within ray actors in Python code, namely can the ray actor processes form an mpi communicator without using mpiexec/mpirun for the launch?
I find some related issues: [rllib][Ray] Running MPI compliant software as a custom environment together with rllib · Issue #10975 · ray-project/ray · GitHub
and Ray initialization in MPI environment · Issue #7893 · ray-project/ray · GitHub, seems it is doable? If so, can I have some example or guidance on how to do this?
Probably the package mpi4py is useful, but there is limited resources and discussion that can refer to on the Internet.
Any thoughts or discussions are welcome.
Thanks so much in advance and look forward to get reply!