-
Notifications
You must be signed in to change notification settings - Fork 858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor/rewrite mpirun to not exec a second executable #12712
Labels
Comments
Can't we skip the fork and just exec the |
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
actually mpirun just execv's pretrun. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: