Skip to content

Commit

Permalink
slurm helper
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Feb 22, 2016
1 parent 2679bd1 commit d4ff5d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions inst/bin/slurm-helper
@@ -0,0 +1,20 @@
#!/bin/sh

cmd="$1"
shift

case $cmd in
list)
squeue -h -o %i -u $USER
;;
submit)
sbatch $@
;;
kill)
scancel $@
;;
*)
echo "Unknown command '$cmd'" >&2
exit 1
;;
esac

0 comments on commit d4ff5d1

Please sign in to comment.