Skip to content

Set NUMBA_NUM_THREADS as well as OMP_NUM_THREADS - #138

Merged
joezuntz merged 1 commit into
masterfrom
numba_threads
Oct 6, 2026
Merged

joezuntz merged 1 commit into
masterfrom
numba_threads

Conversation

@joezuntz

@joezuntz joezuntz commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

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.

Copilot review overview

🟢 Approval recommended

The focused changes consistently mirror the existing OpenMP configuration, with no unresolved findings.

Review effort: Balanced
Findings: None

What changed in this PR

Configures Numba’s thread limit alongside OpenMP’s in the site command builders.

Changes:

  • Sets NUMBA_NUM_THREADS from threads_per_process for native and container commands.
  • Adds command assertions for local, Docker, and NERSC execution.
File Description
tests/​test_cmd.py Checks the Numba thread setting in generated commands.
ceci/​sites/​nersc.py Adds the setting to native and Shifter commands.
ceci/​sites/​local.py Adds the setting to native and Docker commands.
ceci/​sites/​ccin2p3.py Adds the setting to native and Singularity commands.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@joezuntz
joezuntz merged commit 126c6d3 into master Oct 6, 2026
9 checks passed
@joezuntz
joezuntz deleted the numba_threads branch October 6, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants