Skip to content

MPI1/AMR validation fix - #679

Merged
jeffhammond merged 2 commits into
ParRes:mainfrom
yapolyak:MPI1-AMR-validation-fix
Sep 21, 2026
Merged

jeffhammond merged 2 commits into
ParRes:mainfrom
yapolyak:MPI1-AMR-validation-fix

Conversation

@yapolyak

Copy link
Copy Markdown
Contributor

Fixes #678

On top of fixing MPI1/AMR result validation error, I initialized recv_buf and send_buf to NULL as passing uninitialized buffer pointers to MPI_Alltoallv can potentially lead to segmentation fault.

It was redundant because the interpolation check ``!(iter % period)`` correctly evaluates to ``true`` on the 0th iteration anyway.

More importantly, this is fixing the **validation error** that was happening otherwise.
@jeffhammond
jeffhammond merged commit ba27bff into ParRes:main Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MPI1/AMR: Solution does not validate

2 participants