Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

Support Slurm-over-ssh as job manager#43

Draft
eschnett wants to merge 19 commits into
google:mainfrom
eschnett:eschnett/slurm
Draft

Support Slurm-over-ssh as job manager#43
eschnett wants to merge 19 commits into
google:mainfrom
eschnett:eschnett/slurm

Conversation

@eschnett

Copy link
Copy Markdown
Contributor

I am interested in using Caliban to manage jobs no HPC systems. These typically have a job manager such as Slurm, and are accessed via ssh instead of a web API. Instead of Docker, they provide e.g. Singularity.

This draft pull request is a proof of concept to demonstrate the mechanics of using ssh, Slurm, and Singularity. The code is not yet well structured, and several constants are hard-wired in for our in-house HPC system "Symmetry". At the moment, I am looking for a discussion which functions dealing with Docker images (docker) and/or clusters (platform/cluster) should be generalized, and which should be rewritten in platform/slurm.

I can use this branch to submit code to our HPC system. Other cluster functionality is still missing.

@codecov

codecov Bot commented Jul 20, 2020

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 32.84672% with 92 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.67%. Comparing base (4b09430) to head (ce28c78).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
caliban/platform/slurm/cli.py 31.81% 90 Missing ⚠️
caliban/main.py 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   55.56%   54.67%   -0.90%     
==========================================
  Files          31       32       +1     
  Lines        3180     3316     +136     
==========================================
+ Hits         1767     1813      +46     
- Misses       1413     1503      +90     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant