From 9befdf18a7003601459e9681be9acdd7695255b1 Mon Sep 17 00:00:00 2001 From: Renato Alves <alves.rjc@gmail.com> Date: Tue, 20 Feb 2018 20:09:09 +0100 Subject: [PATCH] MNT SLURM: use job_id column containing array information --- bin/q | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/q b/bin/q index 321ccf1..5cb3d8c 100755 --- a/bin/q +++ b/bin/q @@ -3,9 +3,9 @@ if [ -f "$(which squeue 2>/dev/null)" ]; then if [ "$#" == "0" ]; then - squeue -u $(whoami) -o "%.18A %.9P %.25j %.2t %.7c %.7m %.5D %.6q %.10f %.10b %.11M %.30R" + squeue -u "$(whoami)" -o "%.18i %.9P %.25j %.2t %.7c %.7m %.5D %.6q %.10f %.10b %.11M %.30R" else - squeue -o "%.18A %.9P %.25j %.2t %.10u %.10g %.7c %.7m %.5D %.6q %.10f %.10b %.11M %.30R" "$@" + squeue -o "%.18i %.9P %.25j %.2t %.10u %.10g %.7c %.7m %.5D %.6q %.10f %.10b %.11M %.30R" "$@" fi elif [ -f "$(which bjobs 2>/dev/null)" ]; then bjobs "$@" -- GitLab