-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update particle splitting script for particles with >64 splits #61
Conversation
toolbox/swiftsim/particle_splitting/generate_splitting_information.py
Outdated
Show resolved
Hide resolved
toolbox/swiftsim/particle_splitting/generate_splitting_information.py
Outdated
Show resolved
Hide resolved
Ready for review, I've tested this on the EAGLE_6 example, and everything seems to be working as expected. |
Is this ready to be reviewed? |
Yep, I tested it on the EAGLE box by setting the size of SplitTree to 8 to cause overflows |
toolbox/swiftsim/particle_splitting/generate_splitting_information.py
Outdated
Show resolved
Hide resolved
Maybe we should update the pipeline sbatch scripts to pass the particle splitting directory |
toolbox/swiftsim/particle_splitting/generate_splitting_information.py
Outdated
Show resolved
Hide resolved
toolbox/swiftsim/particle_splitting/generate_splitting_information.py
Outdated
Show resolved
Hide resolved
Yes, we should update the pipeline scripts so that it defaults to loading the overflow split information. Safer that omitting it. |
toolbox/swiftsim/pipeline/submission_scripts/submit_particle_splits.sh
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy for you to take the initiative to merge into master.
When calculating which particles have split from other we make use of the
SplitTrees
dataset output by SWIFT. For Colibre the datatype is a long, so it can hold at most information about 64 particles splits. We were finding some particles that had more than 64 splits, and so couldn't reproduce the full split trees.In https://gitlab.cosma.dur.ac.uk/swift/swiftsim/-/merge_requests/2000 we are now logging information about particles that exceed this limit to a text file. This PR updates HBT to read in this new SWIFT output.
TODO: