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

[Condor-users] running python script on Windows execute node



Hi all,

I have a Linux submit and management machine + a WindowsXP execute
machine (just one at the moment) and am trying to find the best way to
submit a python script to the Windows box for execution.

my cmd file looks like:

#################
##
##  Condor command file
##
################

universe	= vanilla
executable	= mypython.bat
output		= python_ex.out
error		= python_ex.err
log		= python_ex.log
initialdir = dir.$(Process)


requirements = (ARCH == "INTEL" && OpSys == "WINNT51")

environment = path=e:\Python23

transfer_input_files = python_ex.py
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
queue 

and mypython.bat is fairly simple:

e:\Python23\python python_ex.py

The actual python script (python_ex.py) just prints to stdout and
exits. 

On the submitting machine I get a Shadow exception:

"Can no longer talk to condor_starter on execute machine"

and the Starter log on the Windows box shows:


8/25 12:59:16 ** condor_starter (CONDOR_STARTER) STARTING UP
8/25 12:59:16 ** e:\software\condor\bin\condor_starter.exe
8/25 12:59:16 ** $CondorVersion: 6.6.10 Jun 22 2005 $
8/25 12:59:16 ** $CondorPlatform: INTEL-WINNT50 $
8/25 12:59:16 ** PID = 2464
8/25 12:59:16 ******************************************************
8/25 12:59:16 Using config file: e:\software\condor\condor_config
8/25 12:59:16 Using local config files: e:\software
\condor/condor_config.local
8/25 12:59:16 DaemonCore: Command Socket at <130.116.145.164:4475>
8/25 12:59:16 Setting resource limits not implemented!
8/25 12:59:16 Starter communicating with condor_shadow
<130.116.145.30:59323>
8/25 12:59:16 Submitting machine is "typo.arrc.CSIRO.AU"
8/25 12:59:17 File transfer completed successfully.
8/25 12:59:18 Starting a VANILLA universe job with ID: 26.0
8/25 12:59:18 IWD: e:\software\condor/execute\dir_2464
8/25 12:59:18 Output file: e:\software\condor/execute\dir_2464
\python_ex.out
8/25 12:59:18 Error file: e:\software\condor/execute\dir_2464
\python_ex.err
8/25 12:59:18 Renice expr "10" evaluated to 10
8/25 12:59:18 About to exec e:\software\condor\execute\dir_2464
\condor_exec.exe
8/25 12:59:18 ERROR: e:\software\condor\execute\dir_2464\condor_exec.exe
is not a valid Windows executable
8/25 12:59:18 ERROR "Create_Process(e:\software\condor\execute\dir_2464
\condor_exec.exe,condor_exec.exe, ...) failed" at line 493 in
file ..\src\condor_starter.V6.1\os_proc.C
8/25 12:59:18 ShutdownFast all jobs.

Am I approaching this the right way, and is there something not right
with my set-up??

Many thanks,

Gordon