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

Re: [Condor-users] Forcing job to run on submit host



On 10/22/07, Atle Rudshaug <atle.rudshaug@xxxxxxxxx> wrote:
> Hi!!
>
> I am runnning multiple jobs where the result of each job has to be
> compared and the best one picked out. I have set this up as a DAGMan
> job and I get all the results back to the submitters machine in the
> STDOUT files. I need the argument list for the best result and run it
> locally on the submitters machine (has to do a lot of database stuff).
>
> What is the best way of finding the best result from the output files?
> I have written a small bash script that uses a loop and 'grep' to pick
> out the results. Now I need to compare them as well. I have a small
> c++ program that parses result file from the bash script and picks out
> the best result. I could probably do the comparison as well with the
> bash script?
>
> My question is how to I force the last job in DAGMan (which is the
> child of all the other jobs) to run on the submitters machine where
> all the outputs files are (this being a bash script or a c++
> executable). Is there a better/easier way of doing this?

You may be able to achive this with a fake job and a POST statement
for it (The POST bit runs on the dag hosted machine). I believe the
nop switch would make the fake job avoid getting blocked.

I'm no DAG expert so take with hefty pinch of salt...

Matt