flux-account-add-user(1)
SYNOPSIS
flux account add-user --username=USERNAME --bank=BANK [OPTIONS]
DESCRIPTION
flux account add-user will add an association to the
association_table in the flux-accounting database. An association is
defined as a 2-tuple combination of a username and bank name. It requires two
arguments: the username of the association and the bank they are being
added under. Additional configurable fields, such as the number of allocated
shares, a default bank, various job limits, permissible queues, etc. may also
be defined upon user creation.
- -u/--username
The username of the association.
- -i/--userid
The userid of the association.
- -B/--bank
The bank of the association. Users submitting jobs under this bank will contribute both to their own usage as well as the bank's total usage.
The amount of available resources their organization considers they should be entitled to use relative to other competing users.
The ratio between the amount of resources an association is allocated versus the amount actually consumed.
- --max-running-jobs
The max number of running jobs the association can have at any given time.
- --max-active-jobs
The max number of both pending and running jobs the association can have at any given time.
- -N/--max-nodes
The max number of nodes an association can have across all of their running jobs.
- -c/--max-cores
The max number of cores an association can have across all of their running jobs.
- -q/--queues
A comma-separated list of all of the queues an association can run jobs under.
- -P/--projects
A comma-separated list of all of the projects an association can run jobs under. If this option is passed, the first project listed will become the association's default project. The association's default can be changed with flux-account-edit-user(1).
- --default-project
The default project an association will run jobs under.
- --max-sched-jobs
The max number of jobs in SCHED state an association can have at any given time.
EXAMPLES
An association can be added to the flux-accounting database simply by specifying the username and the bank name:
$ flux account add-user --username=moose --bank=bankA
Or fully configured by specifying any additional number of options:
$ flux account add-user --username=moose --bank=bankA --queues=queue1,queue2 --shares=1