you can do string comparison, check the classadd language here:
strcmp() is probably what you are looking for.
When it comes to slot definitions though you will need to restart condor to make it happen, hence if you want to reorganise your slots depending on the owner of the job it's not gonna be very straight forward (but that is just a wild guess of course)
Building 02b, Room 009
An: "htcondor-users" <htcondor-users@xxxxxxxxxxx>
Gesendet: Donnerstag, 7. Mai 2020 08:56:22
Betreff: [HTCondor-users] Question about the conditionals in configuration
Does the conditional in configuration support string comparison?
As the htcondor manual, it seems only support bool or simple number.
Can we do this conditional in HTCondor configuration?
group = "cms"
if group == "cms"
num_slots = 4
Thanks in advance!
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: