Skip to content

Tutorial: Allocation of Computing Resources - #319

Open
bennoschoenstein wants to merge 3 commits into
queens-py:mainfrom
bennoschoenstein:tutorial-core-allocation
Open

Tutorial: Allocation of Computing Resources#319
bennoschoenstein wants to merge 3 commits into
queens-py:mainfrom
bennoschoenstein:tutorial-core-allocation

Conversation

@bennoschoenstein

@bennoschoenstein bennoschoenstein commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What

Adds tutorial 6_core_allocation.ipynb: how a QUEENS scheduler splits a fixed core budget between num_jobs (parallel jobs) and num_procs (cores per job).

Why

Closes #307

Notes

  • Registered under the tutorial_tests marker in test_utils/tutorial_tests.py.
  • tutorials/output/ added to .gitignore.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new tutorial notebook documenting how QUEENS’ scheduler core budget is split between num_jobs (parallel jobs) and num_procs (cores per job), including examples of idle-core scenarios and a mitigation strategy by splitting work into multiple runs/phases.

Changes:

  • Added tutorials/6_core_allocation.ipynb demonstrating resource-allocation behavior and phase splitting.
  • Registered the new notebook under the tutorial_tests marker so it is executed by the tutorial test suite.
  • Ignored tutorials/output/ to prevent tutorial-generated outputs from being tracked.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.

File Description
tutorials/6_core_allocation.ipynb New tutorial illustrating core allocation, idle cores, and multi-phase execution patterns.
test_utils/tutorial_tests.py Adds the new tutorial to the tutorial_tests marker list so it runs in CI.
.gitignore Ignores tutorials/output/ generated by tutorial execution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tutorials/6_core_allocation.ipynb
Comment thread tutorials/6_core_allocation.ipynb
Comment thread tutorials/6_core_allocation.ipynb
Comment thread tutorials/6_core_allocation.ipynb

@BishrMaradni BishrMaradni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot Benno for the Tutorial! I have some minor comments regarding the text but everything else looks on point! Glad to see the tutorial library slowly growing 😁

Comment thread tutorials/6_core_allocation.ipynb Outdated
Comment thread tutorials/6_core_allocation.ipynb Outdated
Comment thread tutorials/6_core_allocation.ipynb Outdated
Comment thread tutorials/6_core_allocation.ipynb
Comment thread tutorials/6_core_allocation.ipynb Outdated
Comment thread tutorials/6_core_allocation.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: tutorials Issue/PR related to the tutorials

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow different number of cores for the worker and the simulation tool

3 participants