Deadline Scheduler -> $HFS/bin/hython" is not rooted error

   6078   7   1
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hi
Im trying to set up a super simple tops network with a Deadline scheduler. When i try to cook the “ropgeometry1” the job is submitted to Deadline but i get the following error on the job (the deadline_jobpreload.py finishes just fine):
Error: Executable "$HFS/bin/hython" is not rooted, and does not exist in the current directory or in the PATH. (System.Exception)
I have modified the Houdini plugin in Deadline to include 17.5 and have defined the path to the exe like this:
C:\Program Files\Side Effects Software\Houdini 17.5.173\bin\Hython.exe
This is similar to how all the older versions exes are defined.
How am i supposed to set up the DL scheduler for this to work?
DL 10.0.8.3 H 17.5.173 INDIE WIN10
This is a local repo running on my laptop with one slave.

Regards
Edited by bonsak - March 15, 2019 16:11:48

Attachments:
deadline-test.zip (26.9 KB)

http://www.racecar.no [www.racecar.no]
User Avatar
Member
571 posts
Joined: May 2017
Offline
Did you set $HFS in your Mapped Paths in Deadline's Repository Options? See attached screenshot.
Edited by seelan - March 15, 2019 16:23:50

Attachments:
deadline_map.png (43.6 KB)

User Avatar
Member
571 posts
Joined: May 2017
Offline
Also note that the Deadline scheduler node in PDG does not use the Houdini plugin in Deadline by default. This is because the Houdini plugin in Deadline is specialized for Houdini-specific workflow. But for PDG, we need a more general way to execute any task. So the default plugin that is used is CommandLine, which allows use to run any tool on the slave machine that is setup.

You can change the Plugin to Houdini if you want to strictly run hython-specific work.
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
I see.
Setting path swapping to this:

still gives an error in DL:
Error: Executable "C:/Program Files/Side Effects Software/Houdini 17.5.173/bin/hython", does not exist. (System.Exception)
Should it be looking for hython.exe instead of hython?

Regards
Bonsak
http://www.racecar.no [www.racecar.no]
User Avatar
Member
571 posts
Joined: May 2017
Offline
Looks like Deadline requires the .exe at the end of the executable. Our hython argument for the job lacks it, which is a bug we will fix next week. In the mean time, you can add another mapping to $HFS/bin/hython to force the .exe to be added in Deadline's Repository Settings. See attached screenshot.

Thanks for being patient, and apologies for the bug.

Attachments:
deadlin_map2.png (46.5 KB)

User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
That works! Thanks for taking the time to look into this.

Regards
Bonsak
http://www.racecar.no [www.racecar.no]
User Avatar
Member
571 posts
Joined: May 2017
Offline
FYI, the path mapping issue with hython will be fixed in the next daily 17.5 build.
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Great! I figured out that i could just set the path to the hython executable in the Plugin Key values parm directly on the deadlinescheduler. And if i set Remote Shared Root to the same as Local Shared Root, i dont have to do any path remapping in DL. At our studio the two are always the same path but the root path can be different from project to project so it didnt make sense to have a global remapping of __PDG_SHARED_ROOT__ in DL.

Regards
Bonsak
Edited by bonsak - March 19, 2019 16:36:29
http://www.racecar.no [www.racecar.no]
  • Quick Links