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

Re: [HTCondor-users] Suggestion for a small change to condor_submit

Thanks David -- that works fine. I'll just wrap it in a bash script for
our training days.
Best wishes

On 18/09/2014 03:32, "David Champion" <dgc@xxxxxxxxxxxx> wrote:

>* On 17 Sep 2014, Ian Cottam wrote:
>> When we run a training event for HTCondor users here at Manchester, we
>> the obvious mod to some of our Condor compute nodes to reserve them for
>> students on the course.
>> This also requires two changes to all their submit files:
>> 1. the extra line
>> +TrainingJob = True
>> and
>> 2. the Requirements line needs a term conjoining
>> && (Target.TrainingSlot)
>> Now, we don't have to edit the submit file for 1. because we can use -a:
>> condor_submit -a '+TrainingJob = True' submit.txt
>> but we can't do that for 2.
>condor_submit -a 'Requirements = $(Requirements) &&
>(Target.TrainingSlot)' submit.txt
>       David Champion â dgc@xxxxxxxxxxxx â University of Chicago
>Enrico Fermi Institute â Computation Institute â USATLAS Midwest Tier 2
>                      OSG Connect â CI Connect
>HTCondor-users mailing list
>To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with
>subject: Unsubscribe
>You can also unsubscribe by visiting
>The archives can be found at:

Ian Cottam
The University of Manchester