Houdini Deadline ROP not inheriting Environment Variables

Hi,

I’m trying to use the Deadline ROP to send sims/renders to farm, but it’s not using the Environment Variables from my scene file. I’m setting these variables at startup.
Any idea on how I can inherit the environment variables?

Thanks,
Prateek Rangineni

Hi,
Turns out, we were using cmd to get the env variables. So these are not actually saved in the hip file.
We can see the env variables saved in Edit->Aliases and Variables

I was looking at Help → About Houdini …

So to save these variables, I could set the env variables using, let’s say (maybe in 456 script or Deadline ROP when submitting?)

for var in os.environ:
    hou.hscript("setenv -s %s=%s"%(var, os.environ[var]))

Then, it shows up in Edit → Aliases and Variables…
And sending it to farm works.

Thanks

Privacy | Site terms | Cookie preferences