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

Re: [HTCondor-users] Aviary submitJob and ClassAds job



I'm trying to send the job with an extra parameter in submitJob with something like this:

extra1 = client.factory.create("ns0:Attribute")                                
extra1.name = 'ClusterId'                                                      
extra1.type = 'INTEGER-ATTR'                                                   
extra1.value = 100                                                             
extras = [ extra1 ]

client.service.submitJob( ......., extras)

But this way is not taking effect.

On Wed, Nov 28, 2012 at 5:09 PM, Javi Roman <javiroman@xxxxxxxxxxxxxxx> wrote:
Hi,

Is there any way to send jobs to the HTCondor pool with the same ClusterId, changing only the jobId?

I mean the same way as condor_submit does it:

.... work defintion ....
...
...
Queue 120
...........................

the condor_submit send 120 jobs with the IDs, for example:

340.0
340.1 
....
340.119

I can do that with Birdbath SOAP handling directly the ClassAds job, however I can't find any way to get this ClassAds and send jobs in a loop of "submiJob" where I only modify the jobId of the ClusterID.

Any hints or any source of examples?

Many thanks.

--
Javi Roman



--
Javi Roman