-
Couldn't load subscription status.
- Fork 929
coll/tuned: two_proc algo errors when forced on comm size > 2 #1644
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
coll/tuned: two_proc algo errors when forced on comm size > 2 #1644
Conversation
|
@bosilca can you please review this ? |
|
@ggouaillardet I think the knowledge about the number of processes should remain in the function itself (instead of being delegated to the decision_fixed file). What do you think? |
|
the pro of my approach is there is no performance impact (a few nanoseconds that do not really matter though) when two_proc algorithm is not forced (e.g. chosen by default) |
|
It is the same test just down in the function because down there we already have the comm size and then the test is a single branch. |
|
by "down" you meant the test should be moved into |
|
yes, in the *_two_proc functions. If the test is down there anybody can use them without prior knowledge of their requirements. In addition, if we return a specialized error code (MPI_NOT_SUPPORTED) the upper layer can them fallback to calling another function instead of simply returning the error. |
|
ok, so from an end user point of view, forcing the two_proc algorithm on a 3 tasks communicator will ultimately result into invoking an other (default ?) algorithm. |
|
I just said it will be possible ;) I didn't suggested to do that in tuned. |
dedef19 to
f96f2a0
Compare
…procs algo is used on a communicator that has no two tasks Thanks Dave Love for the report
f96f2a0 to
0a19337
Compare
|
@bosilca So is that a thumbs up or no? |
|
👍 |
|
I'm ok deferring this to v2.0.1. Can someone make a PR for v2.0.1? |
|
i made the PR open-mpi/ompi-release#1154 |
No description provided.