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

Re: [Condor-users] birdbath dag submission



On Mon, 24 Sep 2007, Mariette, Jerome wrote:

I'm pretty new in Condor world and have some troubles submitting dag.
Here is my probleme.
I'm using birdbath wraper to do it and I'm submitting the dag file like that:

 Schedd schedd = new Schedd (new URL("http://localhost:8181";));
 Transaction xact = schedd.createTransaction();
 xact.begin(30);
 int cluster = xact.createCluster();
 int job = xact.createJob(cluster);
 xact.submit(cluster, job, "jerome", UniverseType.SCHEDULER,
             "/opt/condor-6.8.5/bin/condor_dagman", /* Path to the dagman binarie */
             "-f -l . -Debug 3 " +
             "-Lockfile myLockFile -Dag myDag -Rescue myRescuDag -Condorlog myLog",
             null, null, null);
 xact.commit();

what am I doing wrong ? (the Dag File is ok because tryed by command it's working)
thx

At least one more thing you need from the DAGMan end -- _CONDOR_DAGMAN_LOG
must be set in DAGMan's environment. (This needs to point to a file DAGMan can log to.)

It sounds like you've been able to run condor_submit_dag on the command
line, so take a look at the .condor.sub file it produces to see how
_CONDOR_DAGMAN_LOG is set there.

Kent Wenger
Condor Team