Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Modify ocean core barotropic subcycle to reuse halo data structure #1521

Open
wants to merge 1 commit into
base: ocean/develop
Choose a base branch
from

Conversation

Larofeticus
Copy link
Contributor

Modify the subcycle halo exchanges of sshSubcycle and normalBarotropicVelocitySubcycle to follow the alternative framework routines which reuse the halo exchange group data structure.

Speed tested on 256 Cori KNL nodes with 8448 mpi ranks, 4 threads per rank, mid resolution mesh, and ~170 cells per rank, the performance gain is 25%.

There is also a cleanup of the tracking of remaining valid halo cells and edges as the subcycle progresses; this removes the extra exchange edge case, and allows correct behavior for config_num_halos != 3 (although using a halo size other than 3 diminishes performance).

@Larofeticus
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant