[slurm-dev] squeue returns "invalid user" for a user that has jobs running

2 views
Skip to first unread message

Andrus, Brian Contractor

unread,
Nov 25, 2016, 11:26:55 PM11/25/16
to slurm-dev

All,

 

Don’t quite get this:

 

# squeue|head

             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)

      751071_17703   primary PARAMEIG clwalton CG 3-00:00:19      1 compute-3-87

751071_[36752-6220   primary PARAMEIG clwalton PD       0:00      1 (Resources)

            787831   primary runwrfam     hale PD       0:00      1 (Reservation)

      751071_36750   primary PARAMEIG clwalton  R       0:02      1 compute-3-33

      751071_36751   primary PARAMEIG clwalton  R       0:02      1 compute-3-37

      751071_36749   primary PARAMEIG clwalton  R       0:06      1 compute-8-17

            787294   primary wrfrunmp     hale  R    3:34:03      1 compute-7-1

# squeue -u clwalton

squeue: error: Invalid user: clwalton

 

             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)

# squeue -u hale

             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)

            787831   primary runwrfam     hale PD       0:00      1 (Reservation)

            787294   primary wrfrunmp     hale  R    3:34:03      1 compute-7-1

 

 

Clearly user clwalton is a valid user and has jobs running, but if I try to specify him, squeue isn’t happy. It is fine with other users…

What would cause this?

 

Brian Andrus

ITACS/Research Computing

Naval Postgraduate School

Monterey, California

voice: 831-656-6238

 

Paddy Doyle

unread,
Nov 28, 2016, 5:37:12 AM11/28/16
to slurm-dev

Hi Brian,

Is there actual username longer than 8 characters? The default squeue format
includes "%.8u" for the username.

Paddy
> Clearly user clwalton is a valid user and has jobs running, but if I try to specify him, squeue isn't happy. It is fine with other users...
> What would cause this?
>
> Brian Andrus
> ITACS/Research Computing
> Naval Postgraduate School
> Monterey, California
> voice: 831-656-6238
>

--
Paddy Doyle
Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
Phone: +353-1-896-3725
http://www.tchpc.tcd.ie/

Andrus, Brian Contractor

unread,
Nov 28, 2016, 12:55:08 PM11/28/16
to slurm-dev
Paddy,
Nope, it is exactly 8 characters: clwalton


Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238



Carlos Fenoy

unread,
Nov 28, 2016, 1:00:23 PM11/28/16
to slurm-dev
Hi,

Is the user defined in all the compute nodes? Does it has the same UID in all the hosts? 

Regards,
Carlos
--
--
Carles Fenoy

Andrus, Brian Contractor

unread,
Nov 28, 2016, 1:05:19 PM11/28/16
to slurm-dev

Carlos,

 

Yes. The cluster uses LDAP for users.

Andrus, Brian Contractor

unread,
Nov 28, 2016, 1:14:54 PM11/28/16
to slurm-dev
I take that back. It was indeed the issue. User name is clwalton1...
Doh!

Thanks for pointing me in the right direction.
Reply all
Reply to author
Forward
0 new messages