[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] User group in policy



Hi Nathan,

Without having a condor-config in front of me to try it out in but I'd suggest the following.

Your job classad will have some form of AccountingGroup as classad value.

Coupling this with an ifThenElse should allow you to set a different maxjobretirementtime.

e.g.

------------------
MAXJOBRETIREMENTTIME = \
IfThenElse(AccountingGroup =?= "cms", 5,
MAXJOBRETIREMENTTIME)
------------------

Possibly not syntactically correct but it should give you a starting point.

- Iain

________________________________________
From: HTCondor-users [htcondor-users-bounces@xxxxxxxxxxx] on behalf of Nathan Smith [sminatha@xxxxxxxx]
Sent: 30 June 2015 21:05
To: HTCondor-Users Mail List
Subject: [HTCondor-users] User group in policy

We have a need to give users in a certain group a longer MAXJOBRETIREMENTTIME. So far I have not discovered the means for referencing the submitting user's group membership in policy. Can this be done?

--
Nathan Smith
Research Systems Engineer
Advanced Computing Center
Oregon Health & Science University

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/