You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the Open MPI fork of PRRTe migration into the Open MPI source tree proper, it would be desirable to rework Open MPI's mpirun tool to not exec the prterun executable.
One option would be to export a function(s) from libprrte.so (which may be renamed as part of this project) that the existing mpirun.c could use to replace the need to fork/exec prterun. This approach would require effectively turning the main function in https://github.com/open-mpi/prrte/blob/master/src/tools/prte/prte.c into a library function(s) provided in libprrte.so.
The text was updated successfully, but these errors were encountered:
Can't we skip the fork and just exec the prterun in the mpirun process ?
hppritcha
changed the title
refactor/rewrite mpirun to not fork/exec a second executable
refactor/rewrite mpirun to not exec a second executable
Jul 25, 2024
As part of the Open MPI fork of PRRTe migration into the Open MPI source tree proper, it would be desirable to rework Open MPI's mpirun tool to not exec the
prterun
executable.One option would be to export a function(s) from libprrte.so (which may be renamed as part of this project) that the existing mpirun.c could use to replace the need to fork/exec
prterun
. This approach would require effectively turning themain
function in https://github.com/open-mpi/prrte/blob/master/src/tools/prte/prte.c into a library function(s) provided in libprrte.so.The text was updated successfully, but these errors were encountered: