Skip to content

Space Charge (FFT): Invalid Particle (SP?) #1078

@ax3l

Description

@ax3l

Might be related to single precision support in ImpactX #899, especially the s-to-t / t-to-s transforms.

In some of the space charge benchmarks that I perform right now (ImpactX development close to release 25.08), I see the following error:

RuntimeError: config 'impactx-6cpu-autovec' w/ 1000000 particles failed with: amrex::Abort::0::ParticleContainer::locateParticle(): invalid particle. !!!
SIGABRT
See Backtrace.0.2 file for details

File that causes this:
spacecharge_cheetah_impactx.py
Note: the issue does not appear in every run, I saw this in one of five in my laptop.

ImpactX build:

ImpactX build configuration:
  Version: 25.07 (25.07-15-g6326301b6459)
  C++ Compiler: GNU 14.3.0 
    /home/axel/micromamba/envs/benchmark-cpu/bin/x86_64-conda-linux-gnu-c++

  Installation prefix: /home/axel/micromamba/envs/benchmark-cpu
        bin: bin
        lib: lib
    include: include
      cmake: lib/cmake/ImpactX
     python: lib/python3.13/site-packages

  Build type: Release
  Build options:
    APP: ON
    COMPUTE: OMP
    SIMD: OFF
    IPO/LTO: OFF
    FFT: ON
    LIB: static
    MPI: OFF
    PRECISION: SINGLE
    PYTHON: ON
    OPENPMD: OFF

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug: affects latest releaseBug also exists in latest release versioncomponent: space chargeSpace charge & potential solverprecisionreduced (single) precision support

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions