parthenon-hpc-lab / parthenon

Parthenon AMR infrastructure
https://parthenon-hpc-lab.github.io/parthenon/
Other
112 stars 33 forks source link

Properly free swarm boundary MPI requests #1084

Closed brryan closed 4 months ago

brryan commented 4 months ago

PR Summary

@pdmullen identified a bug in a downstream application using Parthenon particles where after a number of timesteps, MPI would fail internally. It turns out that Parthenon was not properly freeing MPI requests for swarms, but just setting its own variable to null. This is an easy fix, and solved the downstream issue.

PR Checklist

brryan commented 4 months ago

A simple but important fix; setting to auto-merge