https://github.com/ornl/slurmfs
Slurm API Filesystem
https://github.com/ornl/slurmfs
Last synced: 6 days 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-27T20:20:09.000Z (about 2 years ago)
- Last Synced: 2025-03-18T10:46:51.391Z (3 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
scriptrunning/{job_id}/
meta
script
infocompleted/YYYY/MM/dd/{job_id}
meta
script
infonew/
allocations/{proj}/
infostatus/
infoCopying 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.