Slurm Coordinator Role

Overview: The Slurm Coordinator role enables administrators to efficiently manage users within an account by granting permissions to add or remove users. This provides step-by-step instructions on utilizing the SLURM Coordinator role to manage user access effectively.

Attention: In order to be added as a Slurm Coordinator, email research.computing@dartmouth.edu

Prerequisites:

  • Access to SLURM cluster with Coordinator privileges
  • Familiarity with basic SLURM commands and concepts
  • Knowledge of Unix/Linux command-line interface

To setup a coordinator account, you must be running as a slurm admin. (This step is done by Research Computing)

sacctmgr add coordinator account=<account name> user=<username>

Procedure for adding / removing a user to an account: (Done by slurm coordinator)

  1. Verify Coordinator Privileges: Ensure that you have been granted the slurm Coordinator role, which grants permissions for administrative tasks such as managing users within an account.

  2. Add a User to an Account:

  • Use the sacctmgr command to add a user to an account:
  • sacctmgr -i create user name=<username> account=<account_name>
  • Replace <username> with the name of the user to be added and <account_name> with the name of the account to which the user should be added.
  1. Remove a User from an Account:
  • Use this sacctmgr command to remove a user from an account:
  • sacctmgr -i delete user name=<username> account=<account_name>
  • Replace <username> with the name of the user to be removed and <account_name> with the name of the account from which the user should be removed.
  1. Verify Changes:
  • After adding or removing users, verify the changes using the sacctmgr command:
  • sacctmgr show user <username> This command will list all accounts associated with the user, allowing you to confirm the changes.

For more information on other ways to utilize the slurm coordinator role, please visit:

https://slurm.schedmd.com/sacctmgr.html