Sending USR1 to prman to pre-empt a Husk render

   711   2   0
User Avatar
Member
15 posts
Joined: 3月 2021
Offline
Hello:
I am using husk to render a usd file with the renderman delegate. Looking at the docs for renderman, they suggest sending USR1 to prman in order to trigger a checkpoint and shutdown. The issue I'm running into is that husk seems to trap the signal and essentially restarts the render. Is there a way through Husk, to trigger a checkpoint, shutdown and also recover from the checkpointed .exr with renderrman? Thank you!


39% Lap=0:13:36.50 Left=0:21:17.10 Mem=1.21 GB Peak=1.21 GB
Trapped signal USR1
Current Memory Usage: 1.21 GB
Peak Memory Usage: 1.21 GB
0% Lap=0:14:25.93 Left=<unknown> Mem=1.21 GB Peak=1.21 GB


Renderman 25.2
Houdini 19.5.605
Rocky Linux 8.7
User Avatar
スタッフ
2592 posts
Joined: 7月 2005
Offline
`husk` traps USR1 to save out a snapshot - it continues rendering. snapshots are different than checkpointing.

I'm not sure whether the prman render delegate captures USR1, or whether it's the prman application. If it's the prman application, it's a different beast than husk.

In a future version of Houdini, husk will pass the fact it was signaled with USR1 to the delegate, and the delegate will be able to take actions (like saving a checkpoint and terminating). But it will need to be implemented in the render delegate.
User Avatar
Member
15 posts
Joined: 3月 2021
Offline
Thanks Mark! I've also asked pixar about the signal trapping but haven't heard back yet. It'd be a nice feature to have to pre-empt low priority jobs.
  • Quick Links