Hey chris,

   Problem is, even adding a user : sacctmgr create user
   domain_name\\user_name account=research
   restarting slurmctrld and trying to run a job with the above user :
   srun bash, resulting in:
   slurmctld: error: User 243309139 not found
   slurmctld: _job_create: invalid account or partition for user
   243309139, account '(null)', and partition 'all'
   slurmctld: _slurm_rpc_allocate_resources: Invalid account or
   account/partition combination specified

   so adding manually only works if I dont restart slurmctrld...


   Have i missed something?

   On 19/10/2017 08:14, Christopher Samuel wrote:

     On 18/10/17 16:27, Nadav Toledo wrote:
       

       about B:ן¿½ The reason is I dont want to manually adding each user to
       the slurm database (sacctmgr create user...)     

     I'm afraid you don't really have an option there, if you want to use the
     slurmdbd limits then you're going to need to add the users to the
     database.  You could script the addition/removal to avoid having to do
     it all by hand.
     
     Regarding the idea of a web portal - I think what is being suggested is
     not using AD but instead have your own LDAP server for the cluster which
     is populated via a web portal.
     
     If you are tied into using AD (which it sounds like you are) then that's
     not really an option for you.
     
     All the best,
     Chris   

Reply via email to