Jump to content
Sign in to follow this  
mathieuN

Hqueue submit with Rez

Recommended Posts

Hello Evryone,

 

Context:

I am currently building a VFX pipeline based on "Rez" system for dynamic environnement resolution on Windows 10.

My question is about the job submition on hqueue.

Evrything work fine, except when my job is calculating, houdini can not find my textures or writing any bgeo on server, due to the windows server letter mapping.

 

  log error exemple:

 *** OCTANE API MSG: Could not load 'Q:\RESSOURCES\TEXTURES\EnvMap\substance\sequence\substanceHDR.011.exr:rgba'.

if I change the map path to a UNC path, evrything work fine like this: '\\***.***.*.*\tutu\RESSOURCES\TEXTURES\EnvMap\substance\sequence\

where "\\***.***.*.*\tutu\" = "Q:"

 

Work around:

To fix this issue it looks like I have 2 solutions :

  1.  Making a script who switch the windows letter path to a UNC path before sending the job -> brute force and not a very elegant way
  2.  Using the default hqueue hda's and adding my custom variables -> look more natural way to me but I have no idea how it's work, i try to add a PYTHONPATH env, nothing changes, I try to changes the HQCOMMANDS, nothing changed ...

 

Questions:

Does anyone have experencing custom environement in hqueue or custom batch command using the default rop nodes, 'simulation' and 'render'?

If somebody have any idea to fix the fact that hqueue can't read a path using letters (the hqserver.ini is configurated well I think)

 

Thanks for you time.

I really hope you have a solution, except to switch to linux :-)

 

Best Regards

Mathieu

 

Rez:

https://github.com/nerdvegas/rez

 

 

 

Share this post


Link to post
Share on other sites

 for the houdini support,

env var:

exemple:

HOUDINI_PATHMAP  = { "c:/temp": "/tmp", "/mnt/render": "//storage/share/render" }

HOUDINI_PATHMAP  = { "old": "new" }

 

Looks like it's work.

I am currently doing some test.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×