Render Environment
Your render environment is different from the environment of your user account on your workstation.
There are different kinds of environment configurations.
Type |
Description |
Cross OS/Platform Conversion |
System/OS environment |
All environment variables that you set in your machines operating system are available. |
None as you setup the paths on each computer. |
SetEnv file |
There is a file RR\render_apps\_setenv\all\_global__inhouse.rrEnv which you can use to set environment variables for all kind of jobs. |
It requires an OS switch: |
SetEnv file |
There is a file RR\render_apps\_setenv\all\app.rrEnv or app_renderer.rrEnv which sets environment variables for jobs of this app or renderer. If app_renderer.rrEnv exists, it is uses, otherwise app.rrEnv is used. Note: We have split the setenv files into an "RR factory" and an inhouse file. For example maya.rrEnv and maya__inhouse.rrEnv. If you update RR, then unchanged RR factory files are updated. Instead of editing the rrEnv file named the same as the render app (e.g. arnold.rrEnv), you should edit or create the __inhouse files (e.g. arnold__inhouse.rrEnv). This way you can modify the render environment, but still get important updates for the main files.
|
It requires an OS switch: |
Custom job options uses in __inhouse.rrEnv file. |
If you use your own submission script, then you can add Custom Job Variables. In your xml file with <CustomMyVar> myVar </CustomMyVar> and in the submitter commandline with -CustomMyVar "myVar" These variables can then be converted into an environment variable in your render_apps\_setenv\all\***__inhouse.rrEnv files. Add the next line to the file [RR]\render_apps\_setenv\all\houdini__inhouse.rrEnv MyEnvVar= <CustomMyVar> |
It requires an OS switch: |
rrEnvFile |
Each job has a filename parameter "rrEnvFile". If this file is found, it is converted into environment variables. By default the path is set to <CompanyProjectRoot>renderfarm.rrEnv You have multiple ways to create/edit a rrEnvFile:
Set rrEnvFile for a job:
|
It requires an OS switch in your rrEnv file to get different paths for each OS: |
rrEnvList |
You can set a custom variable rrEnvList with all your enviroment variables. Each job can have a parameter "rrEnvList".
The format of the line is VarNameA=ValueA~~~VarNameB=ValueB~~~VarNameC=ValueC or with optional spaces VarNameA=ValueA ~~~ VarNameB=ValueB ~~~ VarNameC=ValueC Note: Do not use spaces in variable names!
In fact, the rrEnvList is a packed rrEnv file. Set rrEnvList:
|
The rrEnvList is automatically converted by RRs OS conversion. |
rrEnvLine |
You can set a custom variable rrEnvLine with all your enviroment variables. Each job can have a parameter "rrEnvLine".
The format of the line is VariableA=ValueA%%VariableB=ValueB%%VariableC=ValueC or with optional spaces VariableA=ValueA %% VariableB=ValueB %% VariableC=ValueC Note: Do not use spaces for variable names or values, but you can use spaces between variable definitions. Set rrEnvLine:
|
The rrEnvLine is automatically converted by RRs OS conversion. |