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

[Condor-users] Environment variables and paths



Hello,

 

I have just installed Condor on two machines both running Windows XP. Now I am trying to run a job without transferring the executable file to the target machine. On the target machine the file is located in a folder other than the current, and it fails to run. The submit description file I use is:

 

Executable = tree.com         <- resides in c:\windows\system32\

transfer_executable = False

getenv = True                 <- copy my environment

Universe = vanilla

Error = err.$(cluster)

Output = out.$(cluster)

Log = log.$(cluster)

 

Queue

 

The log file looks like this:

 

000 (056.000.000) 02/23 16:34:33 Job submitted from host: <192.168.169.89:1093>

...

001 (056.000.000) 02/23 16:34:40 Job executing on host: <192.168.169.96:1806>

...

022 (056.000.000) 02/23 16:34:40 Job disconnected, attempting to reconnect

    Socket between submit and execute hosts closed unexpectedly

    Trying to reconnect to c0096.xxx.com <192.168.169.96:1806>

...

024 (056.000.000) 02/23 16:34:40 Job reconnection failed

    Job not found at execution machine

    Can not reconnect to c0096.xxx.com, rescheduling job

 

And the job remains idle forever.

 

It looks like Condor ignores the Path environment variable while looking for the executable on the target machine; if I specify Executable = c:\WINDOWS\system32\tree.com everything works fine.

 

Is it the expected behaviour, or I am missing something (say, a configuration setting)? Is there a way to make Condor search through all the folders listed in the Path variable?

 

 

Thanks in advance,

 

Maxim