<SUBSYS>_CLASSAD_USER_MAP_NAMES is part of a mechanism to automatically assign users to an accounting group. This is in place of having users manually specify an accounting group for each job via the submit description file (using command accounting_group
or accounting_group_user).
How you gather resource usage is the same whether or not you use accounting groups: the condor_userprio command or the htcondor.Negotiator object in the Python bindings.
The following configuration template will enable automatic assignment of jobs to accounting groups based on the username:
USE Feature: AssignAccountingGroup( /path/to/map-file )
/path/to/map-file should look like this:
* user1 biology
* user2 physics
* user3 chemistry
If the file doesnât exist or a user doesnât have an entry, then job submission fails. If you want job submission to succeed without a group assignment in this case, then put this in your configuration:
USE Feature: AssignAccountingGroup( /path/to/map-file, false )
Details are in the manual:
- Jaime
|