ECP-WarpX / impactx

high-performance modeling of beam dynamics in particle accelerators with collective effects
https://impactx.readthedocs.io
Other
26 stars 20 forks source link

Fix main() Profile Region #711

Closed AlexanderSinn closed 6 days ago

AlexanderSinn commented 6 days ago

Address new errors with AMReX development of the kind:

189: 0::Assertion `m_profiler.m_do_profiling == false' failed, file "Src/Base/AMReX_Arena.cpp", line 123 !!!

and

5: terminate called after throwing an instance of 'std::runtime_error'
5:   what():  Assertion `static_cast<int>(ttstack.size()) == global_depth' failed, file "Src/Base/AMReX_TinyProfiler.cpp", line 174, Msg: "TinyProfiler sections must be nested with respect to each other"