This repository has been archived by the owner on Jun 1, 2019. It is now read-only.
Properly handle re-distribution of meshes transferred to the mediator #2
Labels
bug
Something isn't working
When a component transfers a mesh to the mediator via NUOPC, the number of Decomposition Elements (DEs) on the receiver side may not match the number of PETs. It is possible that the mediator will have some PETs where localDeCount == 0 and some PETs where localDeCount > 1. In most cases we prefer localDeCount == 1 for all PETs, but that need not be strictly enforced if there is appropriate logic in the mediator to handle these cases. This is especially important to check before pulling out a pointer from the field as it may not point to a valid location if localDeCount == 0. Currently, this is causing an issue with accessing an invalid pointer when the mediator PET count is greater than a component PET count.
From Gerhard:
In principle, even now, you can set up any Mesh distribution you want on the acceptor side. The Connector will then compute a correct RH for it (independent on whether the provider side is on a Mesh or a Grid). The problem lies in setting up the desired acceptor side Mesh, starting with the information the Mediator received from the provider side. Tony nicely outlined the involved issues earlier. The steps forward (as I see it) are:
The text was updated successfully, but these errors were encountered: