Hi guys, due to redshift compatibility limitation, we need to have both Houdini 18.5.596 and Houdini 18.5.696 for different projects, however. deadline is only able to detect up to 1 minor version, 18.5, and not the sub version (.596 and.696). Is there a way to to have them both?
We have modifications to the plugins:
- submitter submits full version string
- render plugin config with full version in executable path string
I cannot post the full plugins, but here are some relevant parts:
plugins/Houdini/Houdini.param
Add a section for the corresponding version, note that instead of dots there are underscores (the render plugin replaces those when searching for the executable config):
[Houdini19_0_561_Hython_Executable]
Label=Houdini 19.0.561 Hython Executable
Category=Render Executables
CategoryOrder=0
Type=multilinemultifilename
Index=10
Default=C:\Program Files\Houdini19.0.561\bin\hython.exe
Description=The path to the hython executable. It can be found in the Houdini bin folder.
In submission/Houdini/Main/SubmitHoudiniToDeadlineFunctions.py
:
Look for fileHandle.write( "Version={}\n".format(ver))
around line 896.
Where version is obtained, replace it with
ver = hou.applicationVersionString()
to contain the entire version.
I think these were all the changes needed, not sure.
SubmitHoudiniToDeadlineFunctions.py (78.4 KB)
@mois.moshev, I can’t seem to be able to find fileHandle.write( "Version={}\n".format(ver))
, Can I trouble you guys to take a look my .py file. thanks!
Just search for Version=
and you will find them - line 817, 1023. The original code uses %
formatting for strings, which is an older method. I recommend the format function as in my example above.
It is working, thanks!