You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix 1D multi-rank MPI_GATHERV undefined behavior in post-process
The 1D paths in s_mpi_gather_spatial_extents and
s_mpi_gather_data_extents reused recvcounts/displs arrays sized for
grid defragmentation (m+1 per rank), but each rank only sends 1
scalar value. This sendcount/recvcounts mismatch is undefined behavior
per the MPI standard and caused nondeterministic crashes with Intel
MPI, preventing silo files from being written.
Replace MPI_GATHERV with MPI_GATHER + temp buffer for the 1D case.
Multi-D paths and 1D defragmentation functions are unchanged.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments