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

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



Should be extra1.type = 'INTEGER' if you are using Aviary.

Despite that the Aviary submit implementation generates a new cluster and proc for each invocation, so you can't really do what you may have done with Birdbath in this case. However, you can attach multiple submits (i.e., multiple clusters) to a common submission name in Aviary and then view/track those as a group using the getSubmissionSummary operation.

\Pete

On 11/28/2012 11:13 AM, Javi Roman wrote:
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


_______________________________________________
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/


-- 
Peter MacKinnon
Cloud BU/MRG Grid
Red Hat Inc.
Raleigh, NC