Search - User list
Full Version: PDG Static scheduling
Root » PDG/TOPs » PDG Static scheduling
shadesoforange
Hey!

I'm currently on/off working on a static scheduler. Since this is not the preferred method, there's very little information out there. But some renderfarms do not have the functionality to support dynamic graphs in a sustainable manner, so it may be necessary.

I want to use this thread to communicate couple of things that are not clear from the documentation/local scheduler scripts. Other people may find this useful in the future, too.

Thanks!
shadesoforange
First question! When I am cooking a graph statically the entire graph gets sent off to the scheduler to deal with and it waits for all the workitems to be reported as finished.

How and where should be reported back to PDG that certain workitems are now finished?

In the default pythonscheduler the onSchedule Callback features this code:

return pdg.scheduleResult.CookSucceeded

but the onScheduleStatic only features

return

Which emphasies the issue I have.


Thanks!
chrisgreb
When your work item is finished, you should call one of the scheduler functions onWorkItemSucceeded, onWorkItemFailed workItemCancelled.

This can be done at any point during the cook.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB