Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Suggestion for a small change to condor_submit
- Date: Thu, 18 Sep 2014 09:55:14 +0000
- From: Ian Cottam <Ian.Cottam@xxxxxxxxxxxxxxxx>
- Subject: 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
-Ian
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
>>do
>> 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
>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/
--
Ian Cottam
The University of Manchester