Houdini.env File for Deadline+Houdini+Redshift

I am trying to set up Houdini with Redshift so that I can render via deadline without having to export RS proxy files.

Right now I have my hython and redshift command line paths set up correctly so rendering RS proxy files works when using the “Redshift Export” option in the Deadline submission.

What I am trying to figure out now is how to have Deadline use a houdini.env file to set “HOUDINI_PATH” and “PATH” env variables to be able to render without having to make RS proxy files.

Where would this houdini.env file go?

Deadline doesn’t control that specifically, so wherever SideFX recommends should be fine.

If this is running on Windows, just set the system-wide environment variables and you should be good to go.

If this on on Linux, you can create a script in “/etc/profile.d” that will be run when any user logs in, including Deadline’s init script. You can take “/etc/profile.d/deadline_client.sh” as an example there.

Is there a way to set environment variables for the slave through deadline monitor? or the slave setup?

Being a sysadmin in a previous life I prefer setting it via the traditional methods, but yes you can!

The Slave itself doesn’t support modifying the environment, but you can set up script to do that. Info here.

You can also set it manually in a job. Info here.

There are events you can use to control the per-job setting, but I think option #1 is your best bet at the moment. Option #2 is a handy test.