diff --git a/docs/source/usage/add-site.rst b/docs/source/usage/add-site.rst index faf3d9e0e..4adaf03ff 100644 --- a/docs/source/usage/add-site.rst +++ b/docs/source/usage/add-site.rst @@ -52,6 +52,13 @@ will overwrite CSET's flow.cylc file. If you need to make additional changes please `open an issue on the CSET GitHub repository`_, so we can ensure your use case is supported directly in CSET. +.. tip:: + + Recipes are baked in parallel with a parallel job per detected CPU. If this + is detected incorrectly, or you want to undersubscribe nodes for additional + memory headroom, you may set the number of parallel jobs with the + ``BUNCH_POOL_SIZE`` environment variable. + Add rose edit metadata entry for site ------------------------------------- diff --git a/src/CSET/cset_workflow/app/bake_recipes/bin/baker.sh b/src/CSET/cset_workflow/app/bake_recipes/bin/baker.sh index f4de7de72..1be972fd3 100755 --- a/src/CSET/cset_workflow/app/bake_recipes/bin/baker.sh +++ b/src/CSET/cset_workflow/app/bake_recipes/bin/baker.sh @@ -17,7 +17,7 @@ fi export RECIPE_DIR # Determine parallelism. -parallelism="$(nproc)" +parallelism="${BUNCH_POOL_SIZE:-$(nproc)}" if [ "$CYLC_TASK_SUBMIT_NUMBER" -gt 1 ]; then # This is a retry; enable DEBUG logging. export LOGLEVEL="DEBUG"