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

Re: [Condor-users] executable in exucute node



Are you submitting from within a shared filesystem (like NFS) that is available on the cluster node? 

If not, you want to use file transfer, even if you are not transferring the executable:
http://www.cs.wisc.edu/condor/manual/v7.6/2_5Submitting_Job.html#sec:file-transfer

-alain

On Jun 21, 2011, at 7:22 AM, Arindam Choudhury wrote:
> Hi,
> 
> I tried to execute a compiled C program which is on the execute node.
> 
> But I encounter some problem:
> 
> [condor@aow4grid condor-job]$ cat submit.job 
> Universe   = vanilla
> transfer_executable = false
> Executable = /home/condor/experiment/test
> run_as_owner = true
> copy_to_spool = false
> Log        = simple2.log
> Output     = simple2.out
> Error      = simple2.error
> Requirements = (Machine == "aopcach.uab.es")
> Queue
> 
> [condor@aow4grid condor-job]$ condor_submit submit.job 
> Submitting job(s).
> Logging submit event(s).
> 1 job(s) submitted to cluster 48.
> [condor@aow4grid condor-job]$ condor_q -better-analyze
> 
> 
> -- Submitter: aow4grid.uab.es : <158.109.65.138:46091> : aow4grid.uab.es
> ---
> 048.000:  Request is held.
> 
> Hold reason: Error from slot1@xxxxxxxxxxxxxx: Failed to open '/home/condor/condor-job/simple2.out' as standard output: No such file or directory (errno 2)
> 
> [condor@aow4grid condor-job]$
> 
> -Arindam
> 
> > Subject: Re: Condor
> > From: roy@xxxxxxxxxxx
> > Date: Thu, 16 Jun 2011 20:57:05 -0500
> > To: arindam@xxxxxxxx
> > 
> > On Jun 16, 2011, at 9:12 AM, Arindam Choudhury wrote:
> > > Dear Alain,
> > > 
> > > Thanks for your reply.
> > > 
> > > I want to start a Virtual Machine already configured in the execution system. I think (I may be wrong) Condor does not support that. I don’t want to submit whole VM image as a job.
> > 
> > Ah, I see. 
> > 
> > > To achieve that I want to write separate boot up and shut down code using libvirt and store it in the execution node. How can I execute code stored in execution node via Condor?
> > 
> > From a Condor job? Use transfer_executable = false, then give the full pathname. 
> > 
> > -alain
> >