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

Re: [HTCondor-users] Possible bug using condor_submit?



I should point out that –append works everywhere EXCEPT on the Queue line.

 

This is because $ expansions on the queue line happen before the appends are inserted.

In fact we don’t actually know it’s a queue line until after expansion.

 

For now, you can work around using this syntax instead.  (or the new –queue argument)

 

[] cat foo.submit

N = $(N:3)

Queue $(N)

 

[] condor_submit foo.submit N=5

> Submitting job(s).....
> 5 job(s) submitted to cluster 78.

 

-tj

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Michael V Pelletier
Sent: Tuesday, November 24, 2015 9:42 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Possible bug using condor_submit?

 

> From: John M Knoeller <johnkn@xxxxxxxxxxx>
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Date: 11/24/2015 10:35 AM
> Subject: Re: [HTCondor-users] Possible bug using condor_submit?
> Sent by: "HTCondor-users" <htcondor-users-bounces@xxxxxxxxxxx>
>
> Yep that a bug.   -append N=5 should behave as if N=5 was right before the
> (first) Queue statement.
> I have used that technique myself.
>
> It looks like in 8.4.2 this will work as a prefix, but not using -append.
>
> [] Cat foo.submit
> output     = out$(Process).txt
> executable = /bin/hostname
> queue $(Num:3)
>
> []Condor_submit  'Num=5' foo.submit
> Submitting job(s).....
> 5 job(s) submitted to cluster 78.
>
> -tj

This is an upgrade blocker for at least one of my pools since the users
leveraged -append quite a bit in order to integrate with pre-HTCondor
job-construction shell scripts.

    -Michael Pelletier.