Conversation
abhidg
commented
Mar 4, 2025
- ci: update pre-commit hooks
- feat: add sbatch scheduler support, fixes scheduler: add sbatch #122
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #125 +/- ##
==========================================
+ Coverage 87.41% 87.46% +0.04%
==========================================
Files 13 13
Lines 604 630 +26
==========================================
+ Hits 528 551 +23
- Misses 76 79 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
andreww
left a comment
There was a problem hiding this comment.
This all looks okay to me. Has it been tested in reality on a system running slurm?
|
@abhidg do you need a second review or is one sufficient? |
|
@sadielbartholomew could you check if this PR works in a cluster? I don't have an account on our supercomputer ATM. |
Sure, as long as you don't mind waiting a couple of days - I have some urgent work to sort for tomorrow and it will take a bit more time to review on JASMIN or ARCHER2. Will aim to submit a cluster-based review by the end of the week. |
|
I've just tested this on our cluster at NOC and it is happily submitting jobs to the slurm queue. |
|
Also tested on JASMIN (newer version of slurm, 24.11.0 instead of 23.02.6) and it is working there. |
|
Thanks @colinsauze! I have created an issue to display the job number on submission. |
|
Sorry @abhidg this clearly fell off my radar, but thanks @colinsauze for testing on JASMIN! Brilliant to hear that it is working with SLURM. |
Make schedule_at() signature same as schedule_batch(). Side effects are handled by mocking.