1
1
Michael Lass ff85c82151 dims_create: fix calculation of factors for odd squares
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 <bevan@bi-co.net>
(cherry picked from commit 67490118adb8372d2aefe1d2d923432e51e100cd)
2020-01-10 16:07:40 +01:00
..
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2018-07-14 14:14:37 +09:00
2018-03-26 14:21:21 -07:00
2018-07-14 14:14:37 +09:00
2017-05-17 01:12:49 -04:00
2017-08-22 08:56:40 -07:00
2017-05-17 01:12:49 -04:00
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2017-03-18 15:08:59 -05:00