New URL for NEMO forge!   http://forge.nemo-ocean.eu

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.
#2597 (cleaning/upgrade of MPI interface) – NEMO

Opened 3 years ago

Closed 3 years ago

#2597 closed Bug (duplicate)

cleaning/upgrade of MPI interface

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

Description

Context

1) Review, simplification and cleaning of the MPI interface is needed
2) There is a few bugs:

  • potential bug with the corners if nn_hls > 1 (or 2?) with point-to-point communication
  • collective communications is not working with BDY (as BDY has its own exchanges)

3) There is other things to further improve:

  • do not send/receive if send/receive only land points (depend on nn_hls)
  • send/receive only the oce values (checking mask, depend on nn_hls)
  • keep in memory the send/receive buffers (if they are not too big for ex < jpi*jpj) from one call to another -> for point-to-point put the mpi_waitall at the beginning of next call
  • make sure the north pole folding does not need east-west comm. done if nogather = F. to be done if nogather = T... so we could place it where we want (no need to wait for east-west comm).
  • if north pole folding: force the last row of MPI-subdomains to have jpj much smaller (the smallest value?) so they go faster and other don't wait for them

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 3 years ago by smasson

  • Resolution set to duplicate
  • Status changed from new to closed

changed to #2598...

Note: See TracTickets for help on using tickets.