Skip to content

Conversation

@michaellass
Copy link
Contributor

This is a backport of #7189 onto the v4.0.x stable branch.

Until now sqrt(n) was missed as a factor for odd square numbers n. This
lead to suboptimal results of MPI_Dims_create for input numbers like 9,
25, 49, ... Fix the results by including sqrt(n) in the search for
factors.

Refs: #7186

Signed-off-by: Michael Lass [email protected]
(cherry picked from commit 6749011)

Until now sqrt(n) was missed as a factor for odd square numbers n. This
lead to suboptimal results of MPI_Dims_create for input numbers like 9,
25, 49, ... Fix the results by including sqrt(n) in the search for
factors.

Refs: open-mpi#7186

Signed-off-by: Michael Lass <[email protected]>
(cherry picked from commit 6749011)
@ompiteam-bot
Copy link

Can one of the admins verify this patch?

@michaellass michaellass changed the title dims_create: fix calculation of factors for odd squares dims_create: fix calculation of factors for odd squares (v4.0.x) Jan 10, 2020
@jsquyres jsquyres added this to the v4.0.3 milestone Jan 10, 2020
@jsquyres
Copy link
Member

ok to test

@hppritcha
Copy link
Member

switched fs for workspace on cori. retry.
bot:ompi:retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants