Add a variable for explicitly defining pool-size in bake_recipes#1989
Add a variable for explicitly defining pool-size in bake_recipes#1989Scott Wales (ScottWales) wants to merge 4 commits intoMetOffice:mainfrom
Conversation
James Frost (jfrost-mo)
left a comment
There was a problem hiding this comment.
Looks sensible. I feel we should document this somewhere, but off the top of my head we don't really have anywhere suitable. Maybe we should pass it through the rose-edit GUI, so we can have help text there?
|
I don't think the rose metadata is the place to document it. Probably a site would define this in the site file based on the number of CPUs being allocated, e.g. Maybe best to describe this in the sample localhost site, or in a README in the site directory explaining how to set up CSET at new sites? |
|
Hmm, perhaps in the adding a new site documentation then? https://metoffice.github.io/CSET/usage/add-site.html#add-site-file |
|
I've added a bit of documentation to the add a site page:
If you're happy with this please feel free to merge this pull request. |

Sites can define environment variable
$BUNCH_POOL_SIZEin thebake_recipestask to explicitly set the number of parallel jobs to run rather than relying on the output ofnprocsif the correct count is not reported.Fixes #1988
Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.
rose-suite.conf.examplehas been updated if new diagnostic added.