Skip to content

Draft: Reduce the number of activated comms

Matthieu Schaller requested to merge activate_fewer_comms into master

Possible improvement:

  • Report whether cell_unskip_hydro_tasks() actually activated anything.
  • Only activate the related MPI comms if we indeed did.

The logic is that if you recurse a few levels on the subtask, you may not have any two sub-cells that touch over the border and are active. You may as well not run the comm in that case. You probably want the task itself (i.e. the subpair) still as it will deal with the dependencies and will abort quickly anyway.

Merge request reports