| Summary: | Display large unsigned job id's in smap | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Trevor Cooper <tcooper> |
| Component: | Other | Assignee: | David Bigagli <david> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | brian, da |
| Version: | 14.11.1 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | SchedMD | 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: | 14.11.2 | Target Release: | --- |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
| Attachments: | 0001-Display-large-unsigned-jobid-s-in-smap.patch | ||
Fixed. Thanks. The commit is here: https://github.com/SchedMD/slurm/commit/e54fb70eef500f1291d87b4330a761b89b18ad31 Here's the fix for smap support for job arrays: https://github.com/SchedMD/slurm/commit/9b812ea28f6b57d2cd019906ca5b19f8dcb13816 |
Created attachment 1497 [details] 0001-Display-large-unsigned-jobid-s-in-smap.patch Sufficiently large jobids (greater than INT_MAX) are displayed incorrectly by smap. Example... $ which smap /usr/bin/smap $ smap --version slurm 14.11.1 $ smap -i 15 Mon Dec 08 22:33:23 2014 ID JOBID PARTITION USER NAME ST TIME NODES NODELIST A -1342806debug tcooper imb R 00:01:41 4 ccn-1-[11-14] B -1342806debug tcooper hpl PD 00:00:00 4 waiting... Change output of jobid by smap to support uint32_t values and shift remaining colums appropriately to the right. Example... $ /home/tcooper/slurm/bin/smap --version slurm 14.11.1 $ /home/tcooper/slurm/bin/smap -i 15 Mon Dec 08 22:33:40 2014 ID JOBID PARTITION USER NAME ST TIME NODES NODELIST A 4160686661 debug tcooper imb R 00:01:58 4 ccn-1-[11-14] B 4160686662 debug tcooper hpl PD 00:00:00 4 waiting...