Opened 5 weeks ago

Closed 4 weeks ago

#2526 closed Bug (fixed)

bestpartition in mppini no more working

Reported by: smasson Owned by: smasson
Priority: low Milestone:
Component: LBC Version: trunk
Severity: major Keywords:
Cc:

Description

Context

Since [13286] and [13291] bestpartition is no more finding the "best partition"

Analysis

I thought that the choice of the best partition was independent of nn_hls and that it could be done with nn_hls = 0.
This is wrong!
There is a quick example corresponding to the 1st zoom of AGRIF_DEMO) with Ni0glo = 48 and Nj0glo = 50 using 16 cores:

jpni = 16, jpnj = 1
nn_hls = 0 -> domain size:  3*50 = 150 => best
nn_hls = 1 -> domain size:  5*52 = 260
nn_hls = 2 -> domain size:  7*54 = 378

jpni = 8, jpnj = 2
nn_hls = 0 -> domain size:  6*25 = 150 => best
nn_hls = 1 -> domain size:  8*27 = 216
nn_hls = 2 -> domain size: 10*29 = 290

jpni = 4, jpnj = 4
nn_hls = 0 -> domain size: 12*13 = 156
nn_hls = 1 -> domain size: 14*15 = 210 => best
nn_hls = 2 -> domain size: 16*17 = 272 => best

Fix

modify mppini to use nn_hls when looking for the best partition.

Commit History (1)

ChangesetAuthorTimeChangeLog
13490smasson2020-09-18T08:48:31+02:00

trunk: fix bestpartition in mppini, see #2526

Change History (2)

comment:1 Changed 5 weeks ago by smasson

In 13490:

trunk: fix bestpartition in mppini, see #2526

comment:2 Changed 4 weeks ago by smasson

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.