Skip to content

MPI1/AMR validation fix - #679

Open
yapolyak wants to merge 2 commits into
ParRes:mainfrom
yapolyak:MPI1-AMR-validation-fix
Open

yapolyak wants to merge 2 commits into
ParRes:mainfrom
yapolyak:MPI1-AMR-validation-fix

Conversation

@yapolyak

Copy link
Copy Markdown

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.
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

1 participant