Place large subhalos on their own chunk#190
Draft
robjmcgibbon wants to merge 5 commits intomasterfrom
Draft
Conversation
Collaborator
|
Will have a go at L200m6 with morphological properties only. If that does not work, then I will run this branch. |
Collaborator
Author
|
After some experimentation on the low-z snapshots of the L200m6 I have settled on some threshold values. They may be slightly conservative, but we're only taking ~20k cpu hours per snapshot, so I think it's ok |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The low-z snapshots of the largest COLIBRE runs are crashing due to memory. I think this is because single objects are so massive that they can't be processed in parallel.
This PR adds a threshold value, above which a subhalo is placed onto its own chunk.I think placing each large halo on its own rank is too inefficient, I've gone for a "hybrid" approach instead. The user can now specify multiple threshold values. They can also specify the number of halos that can be processed in parallel for each threshold value.
Ideally we would do this automatically rather than having the user specify parameters. We would need to estimate the memory required by each halo (which would depend on the number of properties switched on), and then use that (combined with the system memory) to set the threshold values. I don't see myself getting round to doing that anytime soon though.
TODO