Multiple versions of Software
Posted: Wed Oct 18, 2017 12:50 pm
Hello!
In our studio we have task to to render through Afanasy in Houdini depending on the submitter verson, i.e. if I submit a job from H15.5 the farm has to render the job in H15.5, if I submit a job from H16 it has to render in H16. We use linux version btw.
I've found some topics on github and in Rules, but unfortunately none of them can help me
https://github.com/CGRU/cgru/issues/268
https://github.com/CGRU/cgru/issues/263
http://rules.cgru.info/#/Ask_Questions_ ... m_launcher
Everywhere Timur advices to use custom command, which specifies the path to houdini dir depending on .hip-file location. But for me there are two problems with this advice:
1) Not all submitted files can be placed in exact project or shot directory, sometimes artists use both version in same shots. So I can't determine environment depending on the .hip location.
2) I can't find a way how to determine (for example by executing some code in $CGRU_LOCATION/software_setup/setup_houdini.sh) the full name of the .hip or the version from where it was submitted.
I also want to clear if I understand correctly the full chain: I submit a job in houdini via plugin (afanasy node in ROP), then the plugin sends JSON to Afserver with the job's parameters, then Afserver starts some command (which exactly?) on rendernodes, right?
In our studio we have task to to render through Afanasy in Houdini depending on the submitter verson, i.e. if I submit a job from H15.5 the farm has to render the job in H15.5, if I submit a job from H16 it has to render in H16. We use linux version btw.
I've found some topics on github and in Rules, but unfortunately none of them can help me
https://github.com/CGRU/cgru/issues/268
https://github.com/CGRU/cgru/issues/263
http://rules.cgru.info/#/Ask_Questions_ ... m_launcher
Everywhere Timur advices to use custom command, which specifies the path to houdini dir depending on .hip-file location. But for me there are two problems with this advice:
1) Not all submitted files can be placed in exact project or shot directory, sometimes artists use both version in same shots. So I can't determine environment depending on the .hip location.
2) I can't find a way how to determine (for example by executing some code in $CGRU_LOCATION/software_setup/setup_houdini.sh) the full name of the .hip or the version from where it was submitted.
I also want to clear if I understand correctly the full chain: I submit a job in houdini via plugin (afanasy node in ROP), then the plugin sends JSON to Afserver with the job's parameters, then Afserver starts some command (which exactly?) on rendernodes, right?