amrex icon indicating copy to clipboard operation
amrex copied to clipboard

Advection Tests and Tracers SIGABRT with `ref_ratio = 4 4 4 4`

Open etpalmer63 opened this issue 2 years ago • 2 comments

For both the tests, Advection_AmrCore and Advection_AmrLevel, a segfault occurs when ref_ratio = 4 4 4 4 and tracers are turned on. This happens for both 2D and 3D runs.

The error msg given is:

amrex::Abort::1::ParticleContainer::locateParticle(): invalid particle. !!!
SIGABRT

etpalmer63 avatar Apr 27 '22 20:04 etpalmer63

Tracked the issue a bit more: Error only occurs when subcycling is turned on.

etpalmer63 avatar May 18 '22 14:05 etpalmer63

Not enough ghost cells? Advection_AmrCore/Source/AmrCoreAdv.H: int nghost = 2; Need 4 if ref_ratio is 4 && tracer particle is on && subcycling is on?

WeiqunZhang avatar May 18 '22 15:05 WeiqunZhang