if you are not on the BMRC clone the repo and add the following to your ~/.bash_profile. Otherwise you can add the code below, and run it directly.
# add to ~/.bash_profile
source "/well/lindgren/flassen/ressources/slurm-tools/tools.sh"
source "/well/lindgren/flassen/ressources/slurm-tools/qtools.sh"
gimmeqt
sdel_failed_jobs
sdel_by_name_grep
slurm_usage