[GE users] running python script as a job on windows

pollinger harald.pollinger at sun.com
Wed Feb 4 22:08:39 GMT 2009

Hi Juby,

are you using the native Windows Python (for Win32 or Win64) or the one 
built for Interix?

If you use the native one, it's well possible that just the path is not 
set correctly and it can't find a DLL or something.

There is a Windows service delivered with SGE that starts the Windows 
applications directly in the Win32/Win64 environment and allows them to 
display their GUIs on the visible desktop - this helps debugging 
problems if an application just opens a message box with an error 
message. And it helps getting the right environment, because it loads 
the job users Windows profile. You can also use this service to start 
the application on an invisible desktop, but with the job users Windows 

Please see man SGE_Helper_Service.exe(8) for details.


juby wrote:
> Hey all,
> Im trying to run a job on windows, which is a python script. What i'm 
> finding is that the python interpreter exits immediately without any 
> output. Has anyone seen this kind of behavior before?
> The python interpreter is on a network share, which is mapped to a 
> driver letter. It looks like the sge_execd can see the network share. 
> Running the interpreter through telnet, etc, on the box works fine. 
> Running through the SFU shell (e.g., ksh) also works fine.
> SGE 6.1u5 windows binaries.
> thanks for any info,
> -justin
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=101775
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

Sun Microsystems GmbH         Harald Pollinger
Dr.-Leo-Ritter-Str. 7         N1 Grid Engine Engineering
D-93049 Regensburg            Phone: +49 (0)941 3075-209  (x60209)
Germany                       Fax: +49 (0)941 3075-222  (x60222)
mailto:harald.pollinger at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list