| Summary: | [cosmetic] sshare -l columns not aligned | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Kilian Cavalotti <kilian> |
| Component: | Other | Assignee: | Director of Support <support> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 5 - Enhancement | ||
| Priority: | --- | CC: | brian |
| Version: | 14.11.7 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | Stanford | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | 17.11.0-pre3 | Target Release: | 17.11 |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
| Attachments: |
sshare -l output in 16.05
sshare -l output in 17.02 fixed misalignment in sshare for values exceeding allotted space. fixed edge case. sshare before sshare after |
||
|
Description
Kilian Cavalotti
2015-06-16 11:27:20 MDT
Hi Kilian, I have attempted to reproduce your error in both the current version and version 14.11.7 and have failed. Are you still experiencing this problem? If so are there any further details you could provide that might be influencing it? --Isaac Created attachment 5079 [details]
sshare -l output in 16.05
Created attachment 5080 [details]
sshare -l output in 17.02
Hi Isaac,
> I have attempted to reproduce your error in both the current version and
> version 14.11.7 and have failed. Are you still experiencing this problem?
> If so are there any further details you could provide that might be
> influencing it?
As far as I can see, the issue is still there, in both 16.05.7 and 17.02.6.
I provided example outputs as screenshots, to avoid any reformatting/line wrapping from bugzilla.
The causing factor is very likely using PriorityFlags=FAIR_TREE
Thanks!
--
Kilian
Created attachment 5116 [details]
fixed misalignment in sshare for values exceeding allotted space.
Created attachment 5154 [details]
fixed edge case.
Created attachment 5170 [details]
sshare before
Created attachment 5171 [details]
sshare after
Hi Kilian, I was able to reproduce your error by generating large, random values for sshare. Now if the values are too large for the column, they will be printed in scientific notation (I've attached screen shots to illustrate). If you want the exact value, you can still access it with the '-p' or '-P' option. The patch will be included in the 17.11 release. I am closing this ticket, but if the problem persists, feel free to re-open it. Bugs are fixed in the following commits: https://github.com/SchedMD/slurm/commit/c125759ddecb3e7887c11186bed39f4df829cf9c https://github.com/SchedMD/slurm/commit/d43fa74f72011031223037f4d0bb1934f53dd071 --Isaac Excellent, thank you very much! |