-
Notifications
You must be signed in to change notification settings - Fork 900
setting mpi_yield_when_idle in etc/openmpi-mca-params.conf does not seem to work in 4.0.0 #6616
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
Comments
First, make sure the MCA file you are adding your options to is part of the It seems to work just fine with 4.x and master: $ ompi_info --param all all -l 9 | grep yield
MCA mpi base: parameter "mpi_yield_when_idle" (current value: "true", data source: file (/Users/bosilca/opt/ompi/release/4.0.x/debug/etc/openmpi-mca-params.conf:60), level: 9 dev/all, type: bool) |
Hi bosilca, I see that it correctly picking the configuration file: ompi_info --param all all -l 9 | grep yield However I still observe the above behavior. Any ideas? |
RTE is forcing the value of mpi_yield_when_idle via an environment variable according to the detected oversubscription. The order of the MCA variables being This is a very confusing and certainly unexpected behavior. @rhc54 can certainly help fixing this. |
Hi bosilca, Thanks, just to note that in both experiments I also set the -oversubscribe in mpirun command. |
I would have expected RTE to force the |
@ggouaillardet Could you make PRs for the relevant release branches? |
Consider the following program where I force some processes to wait on a Bcast call
If I run this setting the -mca mpi_yield_when_idle true in mpirun
the processes seems to spend 85% in system and 15% in user, this is what I would have expected from yield option.
However, If I remove the -mca mpi_yield_when_idle from mpirun and set this through the etc/openmpi-mca-params.conf
( adding this line mpi_yield_when_idle = 1)
I see 100% time on user:
Could you please confirm that setting this option through the configuration file does work as expected in later openmpi versions.
The text was updated successfully, but these errors were encountered: