$JOB variable

Post Reply
Posts: 4
Joined: Sun Oct 08, 2017 11:09 am

$JOB variable

Post by 90okm » Fri Dec 01, 2017 1:25 pm

How can i pass the $JOB houdini variable to AF. i'd like it to be a part of $HOUDINI_OTLSCAN_PATH

i've found the only way so far :
i've edited cgru/software_setup/setup_houdini.sh and added this line of code
export JOB=$(${CGRU_LOCATION}/software_setup/houdini_job.py $@ 2>&1)
where houdini_job.py just parses the $@ string trying to find scene path and reconstructs another project path that will be set as the $JOB value

but it seems like rather brutal )))
may be there is another way ?

User avatar
Site Admin
Posts: 384
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev

Re: $JOB variable

Post by timurhai » Sun Dec 03, 2017 7:38 pm

This is a solution. And i do not think that it is brutal.
Now i see that Afanasy ROP needs an "extra environment" and "extra command arguments" parameter that can be used in wrappers.

I am using wrapper too, to setup software in different ways.
Any command has a working directory where it will be launched.
Submission script passes current working directory on a job creation.
Artists launch soft with a different setup by clicking on different launchers (scripts).
That scripts just "cd /needed/folder/" and then run needed soft.
Timur Hairulin
CGRU 2.3.0 Debian 9, Ubuntu 18.04LTS, MS Windows 7,10 (client only).

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests