| #
26139085
|
| 23-Jul-2025 |
Junchao Zhang <jczhang@anl.gov> |
Sys: better mismatched MPIU_Allreduce error diagnosis
If allreduce mismatches at different code lines, better to print out the line numbers on all processes (vs. rank 0) for diagnosis.
In addition,
Sys: better mismatched MPIU_Allreduce error diagnosis
If allreduce mismatches at different code lines, better to print out the line numbers on all processes (vs. rank 0) for diagnosis.
In addition, line numbers are good enough, we don't need to check petsc functions (if functions are different, lines are defintely different)
Use a function instead of inlined macros to save stack space in PetscLogHandlerView_Default_Info(), where MPIU_Allreduce() is called many times. If with inlined macros, we encoutered __chkstk segfault in PetscLogHandlerView_Default_Info() with mswin-mpiuni.
Inspired by !8583
show more ...
|