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

Re: [Condor-users] Condor and Windows Domain Accounts



On 12/21/05, Ari Silver <ari_ag@xxxxxxxxx> wrote:

> Here is my .sub file:
>
> universe = vanilla
> environment = path=
> //bonnie/home/silvera/CondorJobs/NT_VC7_DEBUG;C:\WINDOWS\system32
> executable =
> //bonnie/home/silvera/CondorJobs/NT_VC7_DEBUG/wrapper.bat
> output =
> //bonnie/home/silvera/CondorJobs/NT_VC7_DEBUG/demo.out
> log =
> //bonnie/home/silvera/CondorJobs/NT_VC7_DEBUG/demo.log
> error =
> //bonnie/home/silvera/CondorJobs/NT_VC7_DEBUG/demo.err
> queue
>
> I also tried to see if I could set the path in my
> wrapper batch file. It's contents are here:
>
> net use \\bonnie\home\silvera\CondorJobs\NT_VC7_DEBUG
> password /USER:domain\silvera
> set
> PATH=%PATH%;\\bonnie\home\silvera\CondorJobs\NT_VC7_DEBUG
> echo "Path set. Printing new path..."
> PATH
> echo "Trying to run program..."
> \\bonnie\home\silvera\CondorJobs\NT_VC7_DEBUG\demo.exe
>
> Any ideas?

sorry it's been a while - I assume you still have issues.

Try having *no* reference in your submit file to the \\bonnie share.
i.e. move your executable (and any dll's needed) locally to your
submit machine, subit it that way and see if it runs.

Is your executable a .Net application? If it is the security policy by
default will refuse to run it from a network drive (there are ways to
get round this - both setting permissions on the machine to allow it -
specifically from that share or in general) or simply copying the
files locally then executing them (hacky but very simple)

Matt