Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] problem with running condor script from Java code using birdbath
- Date: Tue, 17 Mar 2009 15:08:58 -0500
- From: Ben Burnett <burnett@xxxxxxxxxxx>
- Subject: Re: [Condor-users] problem with running condor script from Java code using birdbath
See the "Web Service" subsection of the manual:
http://www.cs.wisc.edu/condor/manual/v7.2/4_5Application_Program.html
Regards,
-B
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Debolina Ray
Sent: Tuesday, March 17, 2009 1:55 PM
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] problem with running condor script from Java code
using birdbath
Hello,
I was wondering if there is any documentation available anywhere to find the
parameters to run the condor script.
I am using the following code but that does not seem to work.
public static void main(String[] args) {
// TODO Auto-generated method stub
try
{
Schedd schedd = new Schedd(new URL("http.."));
Transaction xact = schedd.createTransaction();
xact.begin(30);
int cluster = xact.createCluster();
int job = xact.createJob(cluster);
ClassAdStructAttr[] extraAttributes =
{
new ClassAdStructAttr("Out",
ClassAdAttrType.value3,"/home/bb.out"),
// new ClassAdStructAttr("GridResource",
ClassAdAttrType.value3,"gt2 login-co.ncsa.teragrid.org/jobmanager"),
// new ClassAdStructAttr("x509userproxy",
ClassAdAttrType.value3,"/tmp/x509up_u501")
};
xact.submit(cluster,
job,"dray",UniverseType.VANILLA,"/home/condor_sc",null,"OpSys==\"Linux\"",ex
traAttributes,null);
xact.commit();
}
catch(Exception e){
System.out.println("e:"+e);
}
}
Thanks,
D