celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/
Other
64 stars 35 forks source link

Add CELER_NONFATAL_FLUSH to cleanly kill stuck tracks #1455

Closed sethrj closed 1 month ago

sethrj commented 1 month ago

This adds a new environment variable that can be set to change the behavior of "max steps exceeded" and "interrupted". Normally, both of those call G4Exception which (when run through frameworks) kills the code. With the flag enabled, it will kill all active tracks (follow-on to #1451).

github-actions[bot] commented 1 month ago

Test summary

 3 300 files   5 097 suites   3m 56s :stopwatch:  1 537 tests  1 509 :white_check_mark: 28 :zzz: 0 :x: 17 027 runs  16 964 :white_check_mark: 63 :zzz: 0 :x:

Results for commit 700fda53.