New URL for NEMO forge!

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2214 (minimize jpj for the domains of the last row) – NEMO

Opened 5 years ago

Closed 4 years ago

#2214 closed Enhancement (fixed)

minimize jpj for the domains of the last row

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: LBC Version: trunk
Severity: minor Keywords:



Even with the last optimizations, the north pole folding has still an extra coast that creates unbalance. This reduces the limit at which you can push the scalability of the model...

However from version 4, jpj is no more constrained to be the same for each mpi subdomains.
We can therefore try to minimize the size of jpj for the mpi subdomains located on the last row. They will compute less and this could help us to compensate for the extra coast of the north pole folding


When jperio == 3, 4 .OR. jperio == 5, 6 :

  • do the NP folding after the east-west communications but before the south-north communication because if we keep the NP folding after the south-north communication, the south communication will force a synchronization of the last row with its southern neighbors and we would loose all the benefit of computing faster!
  • minimize jpj for the last row. As the NP folding will be done before the south communication, the size of jpj should be at least 5 for jperio = 4 (as V and F folding involves line jpj-3 that should not be the southern boundary) and 4 for jperio = 6 (as V and F folding involves line jpj-2 that should not be the southern boundary)

Commit History (1)


trunk: improve NP folding balance, see #2214

Change History (2)

comment:1 Changed 5 years ago by smasson

In 10542:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 4 years ago by smasson

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