https://github.com/ornl/slurmfs
Slurm API Filesystem
https://github.com/ornl/slurmfs
Last synced: 7 months ago
JSON representation
Slurm API Filesystem
- Host: GitHub
- URL: https://github.com/ornl/slurmfs
- Owner: ORNL
- License: bsd-3-clause
- Created: 2023-04-27T19:45:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-27T20:20:09.000Z (over 2 years ago)
- Last Synced: 2025-03-18T10:46:51.391Z (9 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The [SLURM REST API](https://slurm.schedmd.com/rest_api.html)
provides a simple mechanism for working with job scripts in
the batch queue.
This project aims to wrap this REST API into the following
file structure,
/{user}/
pending/{job_id}/
meta
script
running/{job_id}/
meta
script
info
completed/YYYY/MM/dd/{job_id}
meta
script
info
new/
allocations/{proj}/
info
status/
info
Copying a script file into /new will add it to the queue.
Listing entries inside queue, running, or recent will
show information about jobs. Writing to meta will update
the job queue information. Job-scripts are read-only, since
slurm does not support updating them.
The allocations directory displays information about
projects and their system usage info.
The status directory displays overall queue and partition
status.
At present, it just wraps a few API calls into golang
functions.