[slurm-users] How to assign maximum cores to particular department
Zainul Abiddin
zainul1114 at gmail.com
Fri Feb 5 07:08:52 UTC 2021
Hi all,
Please help us to explain the details for below scenario’s
We have two nodes(smaster, snode) with 16 cores each, Totally 32cores and
We have 3 Departments with 4 Students each.
1. How to create a cluster (ex: hpcc)
2. How to create an account(D1) and add to a specific cluster(hpcc).
3. How to create a user(d1user1) and assign to specific account(D1)
4. How can we assign maximum 8cores to each Dept (D1, D2 and D3)
5. How to control a user to submit only assigned dept (D1)
6. How to list assigned cores with respect to Dept(D1) and Node(cores from
which node)
7. How to assign complete nodes to particular Dept (D1)
8. How to submit priority job with maximum cores and maximum time (around
30cores)
9. Limit the maximum number of running cores (4) for all users in a dept(D1)
10. How to assign a user to run jobs in multiple departments like two
departments (D1,D2)
11. How to modify user department D1 to D2 and delete user,account
below are my slurm default settings
[root at smaster ~]# sinfo -Nl
Fri Feb 05 11:49:34 2021
NODELIST NODES PARTITION STATE CPUS
smaster 1 hpc* idle 16
snode 1 debug idle 16
snode 1 hpc* idle 16
[root at smaster ~]#
[root at smaster ~]# sacctmgr show cluster
Cluster ControlHost ControlPort RPC Share GrpJobs
GrpTRES GrpSubmit MaxJobs MaxTRES MaxSubmit MaxWall
QOS Def QOS
---------- --------------- ------------ ----- ---------
------- ------------- --------- -------
------------- --------- -----------
-------------------- ---------
scluster 127.0.0.1 6817 9216 1
normal
[root at smaster ~]# sacctmgr show accounts
Account Descr Org
---------- -------------------- --------------------
root default root account root
[root at smaster ~]#
[root at smaster ~]# sacctmgr show users
User Def Acct Admin
---------- ---------- ---------
root root Administ+
[root at smaster ~]#
--
*Regards*
*Zain*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210205/7661c006/attachment-0001.htm>
More information about the slurm-users
mailing list