Skip to content

Manage SLURM jobs on multiple clusters easily.

License

Notifications You must be signed in to change notification settings

willGuimont/sjm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sjm: SLURM Job Manager

Manage SLURM jobs on multiple clusters easily.

Installation

git clone https://github.com/willGuimont/sjm
opam install .

Usage

# Add remote (ssh-copy-id is required)
sjm add <name> <user@host>
# List remotes
sjm ls
# Remove remote
sjm rm <name>
# List jobs on remote
sjm ps <name>
# Submit job on remote
sjm run <name> <script_name> [list of replace patterns of the form "pattern=value" that will be place each $pattern in the script by value]
# Clear tmp jobs cache
sjm clr
# Clear tmp jobs cache on host
sjm clr-remote <name>
# git pull in a directory on a remote
sjm pull <name> <path>

Example

sjm add mycluster wigum@123.456.789.012
# See test_job.sh for an example of a job script
sjm pull mycluster my_project
sjm run mycluster test_job.sh NUMBER_GPU=2 CONFIG=my_config.yml
sjm ps mycluster

About

Manage SLURM jobs on multiple clusters easily.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published