Open aageo25 opened 6 months ago
Bash cdjob
function. You give the JOBID and lands where you submit the job to the queue:
function cdjob() {
workdir="$(sacct -j $1 -o WorkDir%-200 -n | xargs)"
cd "$workdir"
For people like me, who are not so familiar with the command line or Linux. see this
A prettier queue command:
squeue -u $USER -o '%.20i| %.35j| %.4C| %.4D| %.2t| %.20S| %.10M| %.10L'
Yes, that is very similar to the command we use in the pysqa
package: https://github.com/pyiron/pysqa/blob/main/pysqa/wrapper/slurm.py#L32C17-L32C72
A prettier queue command:
squeue -u $USER -o '%.20i| %.35j| %.4C| %.4D| %.2t| %.20S| %.10M| %.10L'