Ticket 16501

Summary: squeue --user= returns incomplete job list if multiple partitions
Product: Slurm Reporter: Mark Yoder <myoder96>
Component: AccountingAssignee: Director of Support <support>
Status: RESOLVED FIXED QA Contact:
Severity: 4 - Minor Issue    
Priority: --- CC: benny
Version: 22.05.7   
Hardware: Linux   
OS: Linux   
Site: Stanford Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed: all of them?
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description Mark Yoder 2023-04-11 10:54:50 MDT
when a username is specified, eg

`squeue -u $USER`

only jobs from one partition are returned. If a user is running jobs in multiple partitions, some jobs will not be listed, eg

```
(base) [myoder96@sh02-ln04 login /oak/stanford/projects/cees-backup]$ squeue --user=regirock --Format=jobid,name,username,partition
JOBID               NAME                USER                PARTITION           
15056884            MAFALDA_longaverage_********            serc                
15056395            MAFALDA_longaverage_********            serc                
15121114            MAFALDA_longaverage ********            serc                

(base) [myoder96@sh02-ln04 login /oak/stanford/projects/cees-backup]$ squeue --user=regirock --Format=jobid,name,username,partition -p serc,oneillm,normal
JOBID               NAME                USER                PARTITION           
15446983            Parcels_299_5_axisym********            oneillm             
15056884            MAFALDA_longaverage_********            serc                
15056395            MAFALDA_longaverage_********            serc                
15121114            MAFALDA_longaverage ********            serc  
```
Comment 1 Mark Yoder 2023-04-11 12:47:08 MDT
Actually... I realize that this is because of my permissions on one of the partitions, and that --all would resolve the issue. I withdraw my report; apologies for the disruption!
Comment 2 Mark Yoder 2023-04-11 12:47:46 MDT
(closing)