Bug 112 - 'qstat -a' 'tasks' column width too small
: 'qstat -a' 'tasks' column width too small
Status: RESOLVED FIXED
Product: TORQUE
clients
: 2.4.x
: All All
: P5 minor
Assigned To: Ken Nielson
:
:
:
  Show dependency treegraph
 
Reported: 2011-02-14 22:03 MST by Matt Ezell
Modified: 2012-09-13 19:42 MDT (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Matt Ezell 2011-02-14 22:03:52 MST
By default, the 'Tasks' column for 'qstat -a' is three characters wide.  It's
not that uncommon for a modern cluster to consist of at least 1000 cores.  In
that case, the value is truncated such that only the first three digits are
shown for large jobs.

If you define "TXT" when you compile, then the column gets set to 5 characters
wide.  This works great for up to 99,999 cores, but some systems using TORQUE
have over 100,000 cores.

For the short term, the easiest "fix" would be to make the default 4 characters
and TXT 6 characters.
Comment 1 Matt Ezell 2012-09-13 19:42:01 MDT
It looks like this has been fixed.  Right now, we have '#define DEFTASKSIZE 6'.
 Closing.