Associate a job with a user group for fairshare scheduling.
For example:
User1 shares resources with groupA and groupB. User1 is also a member of groupA, but not any other groups.
User1 submits a job:
bsub sleep 100
By default, the job could be considered for dispatch if either User1 or GroupA has highest dynamic share priority.
User1 submits a job and associates the job with GroupA:
bsub -G groupA sleep 100
If User1 is the highest priority user, this job will not be considered.
User1 can only associate the job with a group that he is a member of.
User1 cannot associate the job with his individual user account because bsub -G only accepts group names.
In the share tree, User1 shares resources with GroupA at the top level. GroupA has 2 subgroups, B and C. GroupC has 1 subgroup, GroupD. User1 also belongs to GroupB and GroupC.
User1 submits a job:
bsub sleep 100
By default, the job could be considered for dispatch if either User1, GroupB, or GroupC has highest dynamic share priority.
User1 submits a job and associates the job with GroupB:
bsub -G groupB sleep 100
If User1 or GroupC is the highest priority user, this job will not be considered.
User1 cannot associate the job with GroupC, because GroupC includes a subgroup.
User1 cannot associate the job with his individual user account because bsub -G only accepts group names.