-
Notifications
You must be signed in to change notification settings - Fork 900
Only pickup OMPI_MCA_ prefixed envars #3288
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
Conversation
Signed-off-by: Ralph Castain <[email protected]>
Though I don't see anything wrong with this PR, it should be noted that this is a change in behavior going into I'd like to see more discussion on this PR before it's merged. Let's put it on the agenda for the next teleconf. |
@gpaulsen please add this to agenda for the next devel core con call. |
I don't know who put that in there, but it is simply wrong. We never used to pickup anything other than |
Well according to git blame Josh Hursey added the OMPI* to the relevant section of the man page in 2006. |
I tell ya that guy is trouble 😄 We should try to find a way to blame @jsquyres though. |
Should this PR be amended to also update the man page? Or, since the genie has escaped the bottle, do we have to live with the fact that OMPI exports Or, since @rhc54 mentions that that is problematic, should we make another approved prefix for variables that can be exported (e.g., |
So, we've been relying on OMPI_* envs being exported to the environment, so we're prefer to keep it that way, but we haven't seen any issues with that yet, and we could rework this if it's causing problems. |
Could you give some idea as to what you are forwarding that isn't an MCA param, and why? |
Note that we aren't talking about envars that we export to the client procs - we are talking about OMPI_ vars that are not MCA params being picked up by mpirun and forwarded to remote procs. |
So, we have an mpirun wrapper script that needs to propagate some data to the ranks. |
We discussed this issue (Forwarding all of OMPI_*) in the web-ex today. There are a lot of facets to changing this behavior, and we'll continue to discuss in next week's meeting (4/18). |
Signed-off-by: Ralph Castain [email protected]