I am trying using the USER_JOB_WRAPPER variable.
I have defined this variable in the global configuration file (condor_config) of the execute machine. Is this correct?
Could you please also confirm if the following is correct,
If I define in the .sub file transfer_executable = true, then the executable file will be transferred to the var/lib/condor/execute directory of the execute machine.
Is this correct?
Will the executable file remain in the execute directory until it is executed?
Will the executable file be deleted if for some reason it cannot be executed?
On Thu, Oct 21, 2010 at 12:15 PM, Sónia Liléo <sonia.lileo@xxxxx> wrote:
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"
requirements = OpSys == "winnt50" || OpSys == "winnt51"
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
It depends on the OS and what options you've given Condor (run_as_owner changes the behaviour on Windows for example).
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).