New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use same software version on render, that was used with submitter #268

Closed
sebastianelsner opened this Issue Aug 4, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@sebastianelsner
Contributor

sebastianelsner commented Aug 4, 2016

Submitting in Houdini 15.0.222 with the afanasy node, I want afrender to use the exact same version. Even if newer ones are installed. I can't rely on setup_houdini.sh, it uses the newest version or the one definded in locate_houdini.sh. But what if the Houdini version used is changing often and changing per shot?

Right now I do this:

  1. in the Houdini submitter (afanasy.py) set the AF_CMD_PREFIX:
    os.environ["AF_CMD_PREFIX"] = "export APP_DIR=%s;" % os.getenv("HFS", "")
  2. have an essentially empty locate_houdini.sh, so APP_DIR is actually picked up and overwritten in setup_houdini.sh

Is there already a better way? Or a better way in the future, that can be implemented?

@timurhai

This comment has been minimized.

Member

timurhai commented Aug 4, 2016

Hi.
The best way is to use own houdini command.
It can run any version you want denending on environment.
( we use working directory to set soft version, and any other environment )

@timurhai

This comment has been minimized.

Member

timurhai commented Aug 4, 2016

@sebastianelsner

This comment has been minimized.

Contributor

sebastianelsner commented Aug 4, 2016

I see, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment