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

[HTCondor-users] Submit python on to windows host



Hi,
I'm trying to add a Windows execution machine to our current condor pool, which consists entirely of Macs. I believe I have managed to set up the machine correctly; I can see its slot when I do condor_status.
I wanted to test this machine by submitting a python job from one of the Mac machines. I created the following submit file:

universe = vanilla
executable = testscript.py
requirements = OpSys == "WINDOWS" && Arch == "INTEL"
transfer_executable = true
output = testscript.out
error = testscript.err
log = testscript.log

queue

with a simple executable:

#!/usr/bin/env python
print "hello world"

The job is successfully submitted, but when I check the StarterLog on the Windows machine, I get this error message:

01/06/15 12:47:18 (pid:3536) About to exec D:\condor\execute\dir_3536\condor_exec.py
01/06/15 12:47:18 (pid:3536) Running job as user condor-slot1
01/06/15 12:47:18 (pid:3536) ERROR: failed to produce Win32 argument string from CreateProcess:
01/06/15 12:47:18 (pid:3536) Create_Process(D:\condor\execute\dir_3536\condor_exec.py,, ...) failed:
01/06/15 12:47:18 (pid:3536) Failed to start job, exiting
01/06/15 12:47:18 (pid:3536) ShutdownFast all jobs.

I've confirmed that I can execute python jobs on the Windows machine by typing e.g. "testscript.py" at the command prompt.
Note that the Windows machine does not share a file system with the Macs, so I need to use the file transfer mechanism. Is there something obvious I'm missing here?

~ Roger

Attachment: signature.asc
Description: OpenPGP digital signature