On Friday October 21 2011 2:26:41 PM you wrote:
> Hi,
> 
> I am trying to understand how unix UIDs and GIDs relate to the various
> SLURM accounting concepts.
> 
> Our unix groups correspond to actual groups around principal
> investigators. My current understanding is that I would have to
> reproduce all the unix groups as SLURM accounts and then add all the
> individual users to SLURM with the appropriate account.

Yes, your understanding is correct.

> 
> I have the following questions:  
> 
> 1. Is it possible to map GIDs to SLURM accounts automatically? I.e. can
>    I avoid having to add accounts manually for the PIs?   

You could in theory make a script that would do this, but there are no plans to 
add this functionality to SLURM today.

> 2. Do all users have to be made known to SLURM via sacctmgr add user?
>    I.e. is it possible for SLURM to be aware of users purely via the
>    GID/account?

If you are enforcing associations yes they have to be added.

> 
> My way off looking at this is probably heavily influence by my
> background with IBM's LoadLeveler.  With that, unix groups and users can
> be used directly for the accounting.

This is different than our implementation where a user has to be granted 
access.  There are many systems out there that don't want to treat having a 
login on the login node to mean you have the ability to run on the cluster.  
This is the mentality behind the accounting infrastructure.

I would be curious to know your findings on comparing LL to SLURM if you are 
able to share them.  Performance would be the most interesting observation.

Danny

> 
> Cheers
> 
> Loris
> 
> 

Reply via email to