Skip to content

Conversation

@ggouaillardet
Copy link
Contributor

No description provided.

@ggouaillardet
Copy link
Contributor Author

@rhc54 could you please review this ?

if i mpirun --mca orte_fork_agent $HOME/wrapper.sh /foo/bar, then orted ends up fork&exec'ing
$HOME/wrapper.sh bar
we miss the dirname /foo and it is not even available via some environment variable.

with this commit, orted fork&exec $HOME/wrapper.sh /foo/bar which is what i expect.

this commit is very minimal, but you might want to do things differently.
for example, at this stage, app->argv[0] has already been set to the basename, it could have been the full name, and then be replaced by its basename at the very end, right before the real fork&exec

@ggouaillardet
Copy link
Contributor Author

:bot:retest

1 similar comment
@ggouaillardet
Copy link
Contributor Author

:bot:retest

@mellanox-github
Copy link

@rhc54
Copy link
Contributor

rhc54 commented Mar 14, 2016

Mellanox Jenkins error is unrelated: 👍

rhc54 pushed a commit that referenced this pull request Mar 14, 2016
…ullname

odls/base: use the full app name when using an orte fork agent
@rhc54 rhc54 merged commit efafd62 into open-mpi:master Mar 14, 2016
bosilca pushed a commit to bosilca/ompi that referenced this pull request Oct 3, 2016
…e_fork_wrapper_fullname"

This reverts commit efafd62, reversing
changes made to a93b849.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants