ECP-WarpX / impactx

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

Monitor+Nonlinear invariants+Aperture yields SegFault #762

Open cemitch99 opened 4 days ago

cemitch99 commented 4 days ago

The test script below yields a SegFault. However, the script runs successfully in any of the following cases:

1) If the flag "nonlinear_lens_invariants=True" is changed to "nonlinear_lens_invariants=False". 2) If the Aperture element is removed or commented. 3) If the first Monitor element is removed or commented.

The following is a Python script. (The change .py -> .txt was made to allow attachment to this Issue.) run_aperture_test_segfault.txt

cemitch99 commented 4 days ago

This bug only affects users who model nonlinear integrable optics (NIO) with apertures.