Skip to content

Warning int32 max#1068

Open
nkrah wants to merge 6 commits into
masterfrom
warning-INT32_MAX
Open

Warning int32 max#1068
nkrah wants to merge 6 commits into
masterfrom
warning-INT32_MAX

Conversation

@nkrah

@nkrah nkrah commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

This PR introduces a check mechanism in the source management in GATE 10 to avoid that long simulations crash when the number of particles exceeds the internal Geant4 limit of INT32_MAX. This issue has been reported on multiple occasions, most recently in #1059.

@nkrah nkrah force-pushed the warning-INT32_MAX branch from c5439d6 to 940912b Compare June 18, 2026 09:43
@nkrah

nkrah commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

One failing test at this point:
actors/test097_pileup_mt.py
https://github.com/OpenGATE/opengate/actions/runs/27750878597/job/82109543942

Passes locally on my machine. I think this is unrelated.

@gertvanhoey : what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants