Diagnostic context missing in some error messages
termi-official opened this issue · 3 comments
Some of the error messages could be more helpful if the provide some context about what exactly has been detected.
For example "The sparsity pattern of the ghost layer is inconsistent" could dump some information about where the detected inconsistency is. E.g. something like "The sparsity pattern of the ghost layer is inconsistent on rank $rank at local index ($i,$j)". I understand that it is impossible to reconstruct the full context of the error, especially in an distributed environment, but having at least some information can be immensely helpful when dealing with errors in non-trivial corner cases.
Hi @termi-official, feel free to enhance this. It should not be very challenging.
Sure, I will propose a PR. Could you just quickly help me with the abbreviations, since I am note very confident what they exactly mean?
gid = ghost id
lid = local id
hid = ?
oid = ?
Global, Local, gHost, Own. 😀