Skip to content

Add packages to pythonpath to overwrite env packages - #276

Merged
Ananthu-Ravindran merged 2 commits into
mainfrom
local_alea_on_slurm
Oct 8, 2026
Merged

Ananthu-Ravindran merged 2 commits into
mainfrom
local_alea_on_slurm

Conversation

@Ananthu-Ravindran

Copy link
Copy Markdown
Collaborator

Maybe useful when testing new features on a Slurm Submitter. Depending on how your environment is set up, the slurm submitter may always choose alea/blueice (or any other package in principle) that may be in it to submit your alea jobs which makes it difficult to test changes in alea itself with the slurm submitter. This simple addition lets you add the following line to your "slurm_configurations" dict to add things to PYTHONPATH during submission like
script_preamble: "export PYTHONPATH=<path_package1>:<path_package2>:<path_package3>:$PYTHONPATH"

Maybe there is an easier way to do this, but I've been using this and maybe someone else finds it useful :-D

@coveralls

coveralls commented Oct 6, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 37474881898

Coverage decreased (-0.2%) to 74.545%

Details

  • Coverage decreased (-0.2%) from the base build.
  • Patch coverage: 3 uncovered changes across 1 file (0 of 3 lines covered, 0.0%).
  • 1 coverage regression across 1 file.

Uncovered Changes

File Changed Covered %
alea/submitters/rcc_slurm.py 3 0 0.0%

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
alea/model.py 1 86.51%

Coverage Stats

Coverage Status
Relevant Lines: 2361
Covered Lines: 1760
Line Coverage: 74.54%
Coverage Strength: 1.49 hits per line

💛 - Coveralls

@Ananthu-Ravindran
Ananthu-Ravindran merged commit 47fa547 into main Oct 8, 2026
7 checks passed
@Ananthu-Ravindran
Ananthu-Ravindran deleted the local_alea_on_slurm branch October 8, 2026 21:13
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