Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Odd behaviour between pools?
- Date: Wed, 11 Mar 2020 14:50:20 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Odd behaviour between pools?
IMO Dropping the -a is better. This puts the qnum=20 statement at the *top* of your submit file
so it can be referenced by *if* and *include* statements.
While -append puts qnum=20 it at the bottom, just before the queue statement.
It's that 'just before' that's the issue here. The submit parser doesn't *know* its gotten to the queue statement
until it reads it, so there was a bug for a while in the 8.3 series where the $() expansion of the QUEUE statement
happened before -append arguments were applied.
I would recommend that you get in the habit of using -append only if you are using such an old condor_submit that you don't have a choice,
or when you need to override a statement in the submit file that has not been prepared to be overwritten.
What I do with my submit files these days is to leave the queue statement off entirely, and then supply -queue as a command line argument
condor_submit my.sub -q 1
In support of this pattern, I have considered changing condor_submit so that it does not require a queue statement.
Instead it would treat any submit file without a queue statement as having an implicit queue 1 at the end.
I would be interested in feedback from the community on this idea.
-tj
-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Ian Cottam
Sent: Wednesday, March 11, 2020 4:29 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Odd behaviour between pools?
On a couple of Condor Pools I do the trick where the last line of my submit looks like:
Queue $(qnum)
And then I do
condor_submit -a qnum=20 submit
And all works as expected.
However, on a Pool with condor_version 8.3.8 BuildID RH-8.3.8-1.el7 I get:
WARNING: the line 'qnum = 20' was unused by condor_submit. Is it a typo?
Note that if I drop the -a (or -append) and just use qnum=20 it works.
So, no big deal - just curious.
-Ian
--
Ian Cottam | Head of Research Software Engineering | Research IT | B43 Sackville Street Building | The University of Manchester | M13 9PL | +44(0)161 306 1851
_______________________________________________
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/