Jump to content

Recommended Posts

Hi, I have 4 pipeline questions for deadline. If anyone can answer these technical issues, I really appreciate it, thanks!  

1. auto ifd delete
Can we delete ifd file automatically after deadline finishes mantra rendering? I guess we don't have this feature as default, and need to create and send a external script file to deadline??

deadline01.PNG.f16dfda2aa93255363b3f7f10c607b25.PNG

 

2. save hip file and "submit to deadline"
When hitting the button"submit To deadline", can we create a pop-up message like a "save hip file before submit" if a hip file is not saved after modifying it? As default, because there is no such function, I sometimes forget to save a file before sending to deadline renderFarm. 

deadline02.thumb.PNG.73df557a94b29da2680cd52d87de57a8.PNG

 

 

3. auto cache path change by submission
When submitting, I want to change cache path by script. When doing local sim, pre-render script takes care my python script to change cache. As the same way, I wonder how to execute or change cache path by deadline submission.

deadline03.PNG.48a0505abdf8b2a5a7b8df53eff45115.PNG

 

 

4. frame dependency for sim
When making ifd and mantra jobs, I think deadline sets a frame dependency to mantra job. Then, I try to make a same system for flip sim and particleFluidSurface generation. For example, a flip sim has 100 frames. Normally deadline needs to wait for completion of that job and finally resume a particleFluidSurface job. However, I want to make frame dependency for particleFluidSurface job. Then, particleFluidSurface job can starts immediately from any frames after each frame of flip sim is done, instead of waiting for the end frame of flip sim. So far, I tried frame dependency in deadline, but it seems not working at all. How can we set up frame dependency for these sim situation? Also, can we add this frame dependency with deadline node in houdini ? 

deadline04.PNG.5f362fc638ae920174263d72d5760975.PNG

 

deadline04b.PNG.2d4ecbac0e9e6e5ca5fa6d0a7ea6724c.PNG

 

 

Share this post


Link to post
Share on other sites

Longest title ever, beer to this man!

Share this post


Link to post
Share on other sites

also interested in some pointer for the auto ifd deletion in deadline

Share this post


Link to post
Share on other sites

1. auto ifd delete

You could delete old ifds by making a custom event plugin in dl that checks if the job that just finished is a mantra job. The "OnJobFinishedCallback" fires when jobs are finished.
https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User Manual/manual/event-plugins.html?highlight=event

2. save hip file and "submit to deadline"

If you have "Save Houdini Scene" checked doesnt that save a new file from the state of the file you are in? If not, maybe ask Thinkbox to fix this because thats not very intuitive. In other DCCs you get a warning that your scene is not saved.

3. auto cache path change by submission

Again, i think you could do this with an event plugin. We use event plugins for setting up 3-party envvars like render versions, paths etc with the "OnJobSubmittedCallback"

4. frame dependency for sim

In DL 10 there is a checkbox for making jobs frame dependent on the DL rop.

image.png.c8f513fb6e6fbf581b7c8cd71244163c.png

 

Hope this helps

 

-b

  • Like 1

Share this post


Link to post
Share on other sites

I really appreciate for your answer,  bonsak!!  This is because only few people have this type of solutions and knowledge. I will try them out later, and thanks a lot!!

Best,

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Hi,

Just wondering if you could manage to get the auto cache change by submission??

I'm trying to do few things with pre-render scripts, but having a difficult time setting it up with deadline. It works fine locally.

I'd really appreciate if you could give me some hints on how you did it. 

Thanks!

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

×