cluster computing - How to see the current user's queue in SLURM -
on cluster managed slurm, want check queue of current user (and cluster). normally, have use command:
squeue --user=username --clusters=clustername
the problem this, apart fact rather long command use frequently, needs username. have created script in @ point want check queue of user, have username first.
i have workaround these, great if use command respective 1 loadleveller:
llu
is there that? or can somehow specify "current user" in --user
flag?
you may use alias in /etc/bashrc file (or ~/.bashrc users):
alias llu="squeue --user=$user --clusters=clustername"
edit
you use alias not depend on environment variable:
alias llu="squeue --user=`whoami` --clusters=clustername"
or
alias llu="squeue --user=`logname` --clusters=clustername"
Comments
Post a Comment