Skip to content
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

doc: MPIEXEC_PREFIX_DEFAULT doesn't work #4388

Closed
simonbyrne opened this issue Mar 11, 2020 · 2 comments · Fixed by #5848
Closed

doc: MPIEXEC_PREFIX_DEFAULT doesn't work #4388

simonbyrne opened this issue Mar 11, 2020 · 2 comments · Fixed by #5848
Milestone

Comments

@simonbyrne
Copy link

simonbyrne commented Mar 11, 2020

I tried using the MPIEXEC_PREFIX_DEFAULT environment variable (which is suggested on the man page) but it doesn't seem to have an effect:

> MPIEXEC_PREFIX_DEFAULT=1 mpiexec -n 2 echo "hello world"
hello world
hello world

However the -prepend-rank option (which isn't mentioned on the man page, but is mentioned under mpiexec --help) does work correctly:

> mpiexec -prepend-rank -n 2 echo "hello world"
[0] hello world
[1] hello world

(Discovered in JuliaParallel/MPI.jl#360)

@hzhou
Copy link
Contributor

hzhou commented Mar 11, 2020

Thanks for reporting.

@hzhou hzhou changed the title MPIEXEC_PREFIX_DEFAULT doesn't work doc: MPIEXEC_PREFIX_DEFAULT doesn't work Mar 11, 2020
@raffenet raffenet added the bug label Oct 13, 2020
@raffenet raffenet added this to the 3.4 milestone Oct 13, 2020
@hzhou hzhou added good-first-issues Suitable for new developers easy Easy to review labels Nov 3, 2020
@tkoehring tkoehring self-assigned this Nov 4, 2020
@hzhou hzhou removed the easy Easy to review label Feb 22, 2021
@tkoehring
Copy link
Contributor

I have submitted a PR that fixes this issue. There was no code that handle this environment variable and we felt that it should stay so I've added some.

@hzhou hzhou removed bug good-first-issues Suitable for new developers labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants