Open aeriforme opened 1 year ago
Would you be able to check whether this issue is fixed in the current version of WarpX? (e.g. because of this PR: https://github.com/ECP-WarpX/WarpX/pull/4614)
I see the same behavior I reported with ef6d0853b0115dbbaf95b74d87c3367a4104b5cd
.
Hi all. I'm running a 3D simulation that, depending on the resolution, gives some
nan
values in some of the reduced diagnostics (e.g.ParticleEnergy
andBeamRelevant
) only at the last timestep. If I reduce the simulation time, I still get thenan
values at the last timestep, even if the corresponding value was notnan
in the longer run.If I add to the the input these flags
then the simulation crashes because of
Erroneous arithmetic operation.
I'm using the relativistic electrostatic solver.
Using the Backtraces, the issues seems to arise during the Poisson solve. After adding some prints here and there, I understand that the average velocity of at least one species is
nan
.Specifically, the
meanParticleVelocity
function defined inWarpXParticleContainer.cpp
givesvx_total
,vy_total
,vz_total
equal tonan
, as computed here.Note that the particles have not left the box at the considered timestep.
I'm running on 8 Perlmutter GPU nodes.