Hi folks, We make use of squeue's output formatting to create parsable reports for running jobs. We noticed a couple problems with TRES/%b in 18.08.3. %b no longer appears in the man pages, which led me to think that it had been removed. More importantly for some reason passing %b to --format/-o does not output a delimiter when one is specified after the TRES field. For example: [vagrant@ood ood]$ squeue -o "%b DELIM %a DELIM %D" TRES_PER_NODEACCOUNT DELIM NODES N/Aosc001 DELIM 1 Note how the TRES and account fields have been concatenated in both the header and the values.
Created attachment 8467 [details] squeue tres print fix
Tested the attached patch against 18.08.3 source and appears to fix the issue: $ squeue -o "%b DELIM %a DELIM %D" TRES_PER_NODE DELIM ACCOUNT DELIM NODES N/A DELIM (null) DELIM 1
Hi all, We are tracking this issue via 6120 and I will copy over your patch to that issue shortly. Thanks for the contribution and I will go ahead and mark this as a duplicate of 6120. *** This bug has been marked as a duplicate of bug 6120 ***