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

Re: [Condor-users] Condor pool = Windows + Linux ?



On Thu, Oct 21, 2010 at 12:15 PM, Sónia Liléo <sonia.lileo@xxxxx> wrote:

Thanks  Ian!

Is it possible to define on some way in the .sub file or in the condor_config which program should be used by the execute machine to run the executable file?


It is. You can use:

executable = myexe.$(OpSys)

And keep an myexe.WINNT50 and myexe.LINUX set of executables on disk. But this is not really a very easy route to go down. Most would instead limit their submission to run only on one operating system or the other with:

requirements = OpSys == "linux"

-or-

requirements = OpSys == "winnt50" || OpSys == "winnt51"
 

Is the executable file transferred/copied by Condor from the submitter to the  /var/lib/condor/execute directory in the execute nodes?


It is if you tell Condor that's what you want it to do. See transfer_executable in the condor_submit documentation: http://www.cs.wisc.edu/condor/manual/v7.4/condor_submit.html#72716
 

How does Condor run the executable file?


It depends on the OS and what options you've given Condor (run_as_owner changes the behaviour on Windows for example).
 

Can we define in the condor_config how Condor should execute the job?


You can write anything you want for 'executable =' in the submit ticket. You can also write execution wrappers that Condor will call to execute your job (see USER_JOB_WRAPPER here: http://www.cs.wisc.edu/condor/manual/v7.4/3_3Configuration.html#17901).

- Ian