slayerk Posted September 29, 2014 Share Posted September 29, 2014 (edited) Advantages: 1. Can work with other ROP nodes. As Example it can be called from Wedge ROP for automatic multi job submission. (for different takes or for automatic parameter change).2. May submit any ROP node. DYNAMIC_ROP or GEOMETRY_ROP. Not only Mantra ROP.3. All Submit Settings Saved in scene file and are the attributes of the scene. You may open this scene after some yars and don't need remember some attributes which was rendered a scene in the last time. Also not needed to save submit setting in other places. Installation:1. put otl-file: houdini2deadline_v01.otl in standart user houdini otl storage: on Windows: %USERPROFILE%/Documents/houdini13.0/otls) on Linux: ~/houdini13.0/otls 2. save python script houdini2deadline.py anywhere 3. open Houdini and navigate /out 4. open tab-menu and choose Farm->Houdini2Deadline 5. in Parameters of houdini2deadline node "Program" field set correct path to houdini2deadline.py python script (by default this field set to "$TOOLS/scripts/python/houdini2deadline.py") 6. May set this settings as default with "Gear" menu on node. Or change default values via RMB->Type Proprties...->Parameters Tab select desired parameter, go "Channels" tab and set default value. This is beta version. Any bug report and suggestions are welcome. houdini2deadline_v01.otl houdini2deadline.rar Edited October 3, 2014 by slayerk 1 Quote Link to comment Share on other sites More sharing options...
Lucavfx Posted September 30, 2014 Share Posted September 30, 2014 (edited) Hi Igor, I tried it and it seems to error on the groups/pools fields and on submission (I'm on Linux). Funny timing, I've been developing a houdini to deadline submitter for quite some time, it's called submitToDeadline and is going to be made available real soon (stay tuned!). SubmitToDeadline supports all common rops, multiple submissions and complex dependencies, bypasses etc. It's quite similar in features to the proprietary solutions seen at highend vfx studios in London (but simpler to use): http://simultools.com/submittodeadline Video illustrating the main features can be found here: https://www.youtube.com/watch?v=iJNoxD1hvI8 ThanksL Edited September 30, 2014 by Lucavfx Quote Link to comment Share on other sites More sharing options...
slayerk Posted September 30, 2014 Author Share Posted September 30, 2014 (edited) Hi Igor, I tried it and it seems to error on the groups/pools fields and on submission (I'm on Linux). Funny timing, I've been developing a houdini to deadline submitter for quite some time, it's called submitToDeadline and is going to be made available real soon (stay tuned!). SubmitToDeadline supports all common rops, multiple submissions and complex dependencies, bypasses etc. It's quite similar in features to the proprietary solutions seen at highend vfx studios in London (but simpler to use): http://simultools.com/submittodeadline Video illustrating the main features can be found here: https://www.youtube.com/watch?v=iJNoxD1hvI8 Thanks L very-very powerful tool )) that is what i'm search but not found. Only one flaw - NOT FREE. )) on linux problem: I don't test it on linux but think problem in calling "deadlinecommand". When i install deadline on windows it's automatically updates PATH variable. I think now i must add field in asset like: "Path to deadline command" with path to executables. if simply call "deadlinecommand <parameters>" not work then need to use this path by user. You may correct call to right way calling "deadlinecommand" houdini2deadline node->RMB->Type properties->Parameters Tab->Click on "Pool" parameter and go to Menu Tab. In menu script string: "stdout = os.popen( "deadlinecommand Pools" )". I think it's not work if path to "deadlinecommand" not in PATH variable. Edited September 30, 2014 by slayerk Quote Link to comment Share on other sites More sharing options...
Lucavfx Posted October 1, 2014 Share Posted October 1, 2014 (edited) Thanks for the nice words, I think it is placed at a very competitive price for small/middle sized studios (the cost for the time of a pipelineTD building something similar would be many times higher). BTW it is now live at the orbolt website https://www.orbolt.com/asset/Simultools::submitToDeadline Have you tried using the environment variable DEADLINE_PATH to construct the path to the deadline executable? that env variable should always be present whether you have a local installation of the deadline client or a remote installation. That is pretty much what I use in my olt. very-very powerful tool )) that is what i'm search but not found. Only one flaw - NOT FREE. )) on linux problem: I don't test it on linux but think problem in calling "deadlinecommand". When i install deadline on windows it's automatically updates PATH variable. I think now i must add field in asset like: "Path to deadline command" with path to executables. if simply call "deadlinecommand <parameters>" not work then need to use this path by user. You may correct call to right way calling "deadlinecommand" houdini2deadline node->RMB->Type properties->Parameters Tab->Click on "Pool" parameter and go to Menu Tab. In menu script string: "stdout = os.popen( "deadlinecommand Pools" )". I think it's not work if path to "deadlinecommand" not in PATH variable. Edited October 1, 2014 by Lucavfx Quote Link to comment Share on other sites More sharing options...
slayerk Posted October 1, 2014 Author Share Posted October 1, 2014 Thanks for the nice words, I think it is placed at a very competitive price for small/middle sized studios (the cost for the time of a pipelineTD building something similar would be many times higher). BTW it is now live at the orbolt website https://www.orbolt.com/asset/Simultools::submitToDeadline Have you tried using the environment variable DEADLINE_PATH to construct the path to the deadline executable? that env variable should always be present whether you have a local installation of the deadline client or a remote installation. That is pretty much what I use in my olt. No. Don't Use this variable. Thanks for tip. Quote Link to comment Share on other sites More sharing options...
brandonY Posted October 3, 2014 Share Posted October 3, 2014 thank you so much! Quote Link to comment Share on other sites More sharing options...
slayerk Posted December 15, 2015 Author Share Posted December 15, 2015 (edited) UPDATE: 1. Perfomance improvements: content of "Pools" and "Groups" menus creates once - right after "houdini2deadline" node creation via "OnCreated" callback Script. (in previous version this menus updates via menu callback script - spent a lot of time every time you interact with node ( selecting it and etc...). 2. Some submission script edits, based on working expirience. 3. Machine list now may be constructed from triangle menu button. menu of slaves updated by clicking "UPDATE SLAVES" button. Dependences may be constructed from jobs by current user ( deadlinecommand getcurrentusername // getting name of user for jobs filtering deadlinecommand -getjobidsfilter username="name_of_user" // getting current user jobs ). also list of jobs may be updated by "UPDATE MY JOBS" button. 4. Adapted for H15 Work in progress Tested only under windows Please report problems and bug reports houdini2deadline.rar houdini2deadline_v01.otl Edited December 16, 2015 by slayerk 1 Quote Link to comment Share on other sites More sharing options...
thestuntman Posted December 22, 2015 Share Posted December 22, 2015 (edited) When creating the ROP node: Error running event handler:Traceback (most recent call last): File "opdef:/Driver/houdini2deadline?OnCreated", line 6, in <module>IndexError: list index out of range Machine List does not update. Image attached of error when attempting to Render. Using Houdini 15.0.244.16. As an aside, does this handling Sims in Deadline properly or does it still have the problem of Deadline simming every frame up to the current one rendering, reulsting in exponentially longer render times for each frame? Edited December 22, 2015 by thestuntman Quote Link to comment Share on other sites More sharing options...
slayerk Posted December 22, 2015 Author Share Posted December 22, 2015 When creating the ROP node: Error running event handler: Traceback (most recent call last): File "opdef:/Driver/houdini2deadline?OnCreated", line 6, in <module> IndexError: list index out of range Machine List does not update. Image attached of error when attempting to Render. Using Houdini 15.0.244.16. It cannot find deadlinecommand executable. maybe path to it not added to PATH variable. Linux? Windows? As an aside, does this handling Sims in Deadline properly or does it still have the problem of Deadline simming every frame up to the current one rendering, reulsting in exponentially longer render times for each frame? This internal deadline Houdini plugin problem. need to edit houdini plugin in <Deadline Repository>/Plugins/Houdini/hrender_dl.py. I think in thinkbox spent a very tiny time to write this plugin. very raw and buggy. dont correctly proceed render and display render progress. Quote Link to comment Share on other sites More sharing options...
bonsak Posted December 22, 2015 Share Posted December 22, 2015 It cannot find deadlinecommand executable. maybe path to it not added to PATH variable. Linux? Windows? This internal deadline Houdini plugin problem. need to edit houdini plugin in <Deadline Repository>/Plugins/Houdini/hrender_dl.py. I think in thinkbox spent a very tiny time to write this plugin. very raw and buggy. dont correctly proceed render and display render progress. Hi You should definitely voice your concerns on the Thinkbox forum. I find the thinkbox-guys to be very open to suggestions regarding their submission scripts and rendering plugins. -b Quote Link to comment Share on other sites More sharing options...
slayerk Posted December 23, 2015 Author Share Posted December 23, 2015 (edited) Hi You should definitely voice your concerns on the Thinkbox forum. I find the thinkbox-guys to be very open to suggestions regarding their submission scripts and rendering plugins. -b Yeah, yeah. Already done at a time when there was a relevant fifth version of Deadline. Only feature (one of more I requested) of 7-th deadline is to parse ALF_PROGRESS houdini output that operates with errors now ((((. Main conception of sending job via popup menu (a-la 3dsmax, not via node) still in use. Implementation via node entails parsing dependences of ROP node networks, possibility of use WEDGE Rop and etc. I think it's problem and developer dont wants to spent a time for rarely used 3d software like Houdini. Edited December 23, 2015 by slayerk Quote Link to comment Share on other sites More sharing options...
Lucavfx Posted December 23, 2015 Share Posted December 23, 2015 I've had thinkbox adding a variable called IGNORE_INPUTS ( i think that's how it is called, I'm not in front of my PC) years ago to resolve this issue, no need to edit any deadline installation python files! this is what I use in my submitToDeadline to prevent any rop from cooking any of its inputs. obviously this would require you to handle the rop dependencies manually via code. this is handy if you intend building your own dag algorythm for parsing the rop branch. that's what submitToDeadline does internally. L Quote Link to comment Share on other sites More sharing options...
slayerk Posted December 23, 2015 Author Share Posted December 23, 2015 (edited) Update: 1. No need to install additional script. now It's incapsulated in otl. 2. If Asset cannot find executable of deadlinecommand.exe it will show a file chooser field called "Deadline Command" on top of parameters (see image below). and you may navigate to correct location of this executable. Also you may set correct value by editing defaults via RMB on asset ->Type Properties->Parameters->deadlineCommand->channels. When this parameter locates to correct executable it will hiding automatically WIP. Any bugs may be present. Need feedback on it. Planned: 1. Resolve dependencies of complex ROP Networks 2. Support for generating IFD and rendering via mantra. 3. Making custom qt widgets for selecting jobs and machines in blacklist/whitelist. houdini2deadline_v01.otl Edited December 23, 2015 by slayerk 1 Quote Link to comment Share on other sites More sharing options...
slayerk Posted December 26, 2015 Author Share Posted December 26, 2015 update: 1. New "Engeneering Tab" where you can test some Submitter Functions. And also disabled checkboxes show is deadlinecommand executable correct or not. 2. Add Support to Sending Mantra Jobs. If Mantra ROP in "ROP Path" Parameter setted to export IFD you have possibility to automatically send dependent Mantra job to render that IFD Files ("Automatically Send Mantra Job" Parameter). houdini2deadline_v02.hda 2 Quote Link to comment Share on other sites More sharing options...
slayerk Posted April 11, 2016 Author Share Posted April 11, 2016 latest version now will be placed here: http://orbolt.com/asset/_slayerk::houdini2deadline 1 Quote Link to comment Share on other sites More sharing options...
IvanPulido Posted April 11, 2016 Share Posted April 11, 2016 latest version now will be placed here: http://orbolt.com/asset/_slayerk::houdini2deadline works for distributed sims? Quote Link to comment Share on other sites More sharing options...
slayerk Posted April 12, 2016 Author Share Posted April 12, 2016 works for distributed sims? Not tested. As I remember you must start sim tracker for distributed sims. You Can start It manually. Also You may use Houdini2Deadline in combination with Wedge ROP (to change SLICE Variable). 1 Quote Link to comment Share on other sites More sharing options...
cgcris Posted April 13, 2016 Share Posted April 13, 2016 Hi, this is awesome. Just got it working on a mac enviroment. One quick question, I am getting the date_time_ on the rendered files. Any ideas how to disable this? Quote Link to comment Share on other sites More sharing options...
slayerk Posted April 13, 2016 Author Share Posted April 13, 2016 what you mean "rendered files". maybe post a screenshot? Quote Link to comment Share on other sites More sharing options...
cgcris Posted April 13, 2016 Share Posted April 13, 2016 Hi, I am using the HIPNAME token on the file output. I think it's because it's making a copy of the hip file on the server, and adding a few details to hipname (date, time, jobnumber) So if my HIPNAME is test01 when it gets to render it outputs: test01_2016-04-13_11_21_45.455831 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.