USD Render Hqueue Linux/Windows Problem

   423   2   0
User Avatar
Member
22 posts
Joined: Sept. 2016
Offline
When sending a USD render job to Hqueue, I'm having a problem when the USD is generated by Windows and the render happens on a Linux machine. I think the output path gets evaluated at the USD creation step and the Linux render fails. Any ideas on how to circumvent this.

Using $HQROOT on the output image path/field in the karma LOP. If it all runs on either OS it works. It's when mixing that it doesn't.

Is there anyway to send a job that doesn't separate USD creation and rendering?
Edited by dany27227 - Jan. 29, 2024 13:01:41
User Avatar
Member
22 posts
Joined: Sept. 2016
Offline
Using the "Override Image Output" field in the USD Render LOP doesn't fix this.
User Avatar
Member
22 posts
Joined: Sept. 2016
Offline
Looking at the command that runs on Linux I see the input path still has the $HQROOT while the output path has been evaluated (on the windows machine to "G:") ...

 The Houdini 20.0.590 environment has been initialized.
Karma Command:  $HFS/bin/husk -R BRAY_HdKarma --verbose-callback "$HFS/houdini/scripts/hqueue/hq_karma_stats.py" --verbose "1" --frame "20" --make-output-path --output "G:/Projects/BoatWater/render/Test8.0020.exr" --usd-input "$HQROOT/Projects/BoatWater/usds/farmTest-0020/__render__.usdnc"
[19:19:19] /opt/hfs20.0/bin/husk version 20.0.590
[19:19:25] WARNING: Entered non-commercial session mode.
[19:19:26] Using stage default settings: /Render/rendersettings
[19:19:26] Unable to create output directory path: G:/Projects/BoatWater/render
PROGRESS: 0%
[19:19:26] >>> Render G:/Projects/BoatWater/render/Test8.0020.exr (1 of 1) - 960x540 /mnt/G/Projects/BoatWater/usds/farmTest-0020/__render__.usdnc frame: 20
PROGRESS: 0%
PROGRESS: 0%
PROGRESS: 1%
PROGRESS: 9%
PROGRESS: 16%
PROGRESS: 25%
PROGRESS: 34%
PROGRESS: 43%
PROGRESS: 54%
PROGRESS: 63%
PROGRESS: 72%
PROGRESS: 82%
PROGRESS: 92%
PROGRESS: 100%
[19:19:41] Total Wall Clock Time: 0:00:22.54
[19:19:41]        Total CPU Time: 0:01:05.84
[19:19:41]  System CPU Time Only: 0:00:28.84
[19:19:41]  Current Memory Usage: 974.14 MiB
[19:19:41]     Peak Memory Usage: 974.14 MiB
[19:19:41] Unable to write to image: G:/Projects/BoatWater/render/Test8.0020.exr
    Error:       Failed to create file "G:/Projects/BoatWater/render/Test8.0020.exr : No such file or directory".
Traceback (most recent call last):
  File "/opt/hfs20.0.590/houdini/scripts/hqueue/hqlib.py", line 2219, in main
    function(**kwargs)
  File "/opt/hfs20.0.590/houdini/scripts/hqueue/hqlib.py", line 404, in invokeKarma
    _invokeKarmaForOneUSD(
  File "/opt/hfs20.0.590/houdini/scripts/hqueue/hqlib.py", line 434, in _invokeKarmaForOneUSD
    _exitApp(pipe.returncode)
  File "/opt/hfs20.0.590/houdini/scripts/hqueue/hqlib.py", line 2539, in _exitApp
    sys.exit(return_code)
SystemExit: 1
  • Quick Links