[slurm-users] Problem with assigning user to partition

Mahmood Naderan mahmood.nt at gmail.com
Fri Apr 20 04:36:47 MDT 2018

Here is my procedure to add a system user to a partition.

Create a partition by editing /etc/slurm/parts similar to this:
PartitionName=MONTHLY1 AllowAccounts=foo Nodes=compute-0-0

Create an Account and add the user to that
# sacctmgr add account foo Cluster=jupiter
# sacctmgr add user test2 Account=foo Partitions=MONTHLY1

Use --partition=MONTHLY1 in the sbatch script.

Hope that helps in the future.


On Fri, Apr 20, 2018 at 2:30 PM, Mahmood Naderan <mahmood.nt at gmail.com> wrote:
> OK. It seems to be working :)
> [test2 at rocks7 ~]$ squeue
>              JOBID PARTITION     NAME     USER ST       TIME  NODES
>                 78  MONTHLY1      g-8    test2  R       0:30      1 compute-0-0
> I will conclude that in a separate email for future.
> Regards,
> Mahmood

More information about the slurm-users mailing list