open-mpi / ompi

Open MPI main development repository
https://www.open-mpi.org
Other
2.17k stars 861 forks source link

mpirun can now invoke mpirun #11148

Open rhc54 opened 1 year ago

rhc54 commented 1 year ago

We have repeatedly received "bug" reports from users that use mpirun to invoke a script that in turn calls mpirun, only to have the second invocation rejected. There were good reasons for that behavior, but it turns out that this is no longer the case in OMPI v5. The use of PRRTE for mpirun plus the request by @naughtont3 to allow mpirun to utilize a DVM combined to remove this restriction. It is therefore fully acceptable now for mpirun to invoke mpirun as many layers deep as you like.

I'm not sure how you want to communicate that to users, but given that people have consistently complained in the past about the lack of this feature, it is probably worth mention - perhaps on the mailing list, or at least somewhere in the docs and NEWS? Up to you.

wenduwan commented 3 months ago

I'm not sure about the action here.... how can we explain this to a broader audience without causing more confusion? Reading the above description, this is rather an edge case. I don't know if it's a good idea to make an announcement to the general user base - most people(me included) will probably have more questions.

rhc54 commented 3 months ago

Not an announcement, perhaps - just add to the docs and/or the mpirun man page.