| 97a85fb4 | 03-Sep-2024 |
Toby Isaac <toby.isaac@gmail.com> |
PetscSF: Fix PETSCSFWINDOW for safe usage of addresses as keys
- Use addresses to identify dynamic windows only with `PetscSFRegisterPersistent()`, otherwise address recycling makes this unsound.
PetscSF: Fix PETSCSFWINDOW for safe usage of addresses as keys
- Use addresses to identify dynamic windows only with `PetscSFRegisterPersistent()`, otherwise address recycling makes this unsound. - Compress empty processes out of window communication, because with NULL for both the rootdata and leafdata a process cannot correcty identify which in-process communications to use. Unlike for PETSCSFBASIC, this problem is potentially fatal because ending a communication can involve collective operations.
show more ...
|