Hi there, I’m trying to submit a command line render job that runs a script inside a rez environment. As far as I can see, I have followed the steps laid out in Rez — Deadline 10.3.1.4 documentation but on each of my test jobs I am seeing this error right as it begins to execute:
=======================================================
Error
=======================================================
Error: Executable returned from RenderExecutable(), "rez", is not rooted, and does not exist in the current directory or in the PATH.
at Deadline.Plugins.PluginWrapper.RenderTasks(Task task, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
=======================================================
RenderPluginException
=======================================================
Stack Trace
=======================================================
at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgt, CancellationToken bgu)
at Deadline.Plugins.SandboxedPlugin.RenderTask(Task task, CancellationToken cancellationToken)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajy, CancellationToken ajz)
As far as I can see the rez event is doing it’s job, I have it configured like so:
And I can see that it appears to be adding DEADLINE_REZ_REQUEST_PACKAGES
and DEADLINE_REZ_TOOLS
extra info to the job as expected (unfortunately I am only allowed to attach a single screenshot to this post).
Reading the docs above it appears that the command line plugin is supported. I’ve added a script to /etc/profile.d on the render node which should add rez to the PATH; when I ssh into the render node, I am able to access rez without issue.
I’m currently investigating whether installing rez onto the render node affects this behaviour, as I am using a rez install in a networked location, currently.
Does anyone have other avenues it might be worth me exploring to diagnose this?