AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
553 stars 352 forks source link

Deregister BArena from Profiling in Arena::Finalize #4164

Closed AlexanderSinn closed 2 months ago

AlexanderSinn commented 2 months ago

Summary

Since the BArena is not destructed in Arena::Finalize, we need to manually deregister it from memory profiling to avoid an assert when initializing the next time.

Additional background

https://github.com/ECP-WarpX/impactx/pull/711

Checklist

The proposed changes: