What CPython version does Deadline want?

I’m trying to whip up some job scripts, and currently have a test script using the OS module (imported by setting the Python search path in the Repository settings to C:\Python26\Lib). However, when I try to run my script, I get the following error:

Python Syntax Error: unexpected token
(IronPython.Runtime.Exceptions.PythonSyntaxErrorException)
FileName: C:\Python26\Lib\os.py
Line: 757
Column: 18
(System.Exception)

My first thought is that 2.6 is too new of a version for Deadline to use… is this the case? If so, what version is required/functional for Deadline?

Also, I’m curious where pre- and post-job scripts are executed. Are they run on the server hosting the repository? The submission machine? Or a slave (the one assigned to Task 0 maybe)?

Thanks in advance.

The current version of Deadline is using IronPython 1.1, which I believe is fully compatible with CPython 2.4. The next version of Deadline will use IronPython 2.0, which will be fully compatible with CPython 2.5.

IronPython 2.6, which is currently in beta, will be fully compatible with CPython 2.6. If IronPython 2.6 is released before we do the next Deadline release, we may look at using that instead.

Pre and post scripts are executed on the slave that is assigned the corresponding task.

Cheers,

  • Ryan

Excellent. 2.4.4 works perfectly.

Thanks again.

One more question actually…

Is there a way to create a post-job script that will always execute on the repository server?