How to force the Single Worker job?

Hi,

I’m trying to figure out if Deadline has any feature that forces only one Worker to do the entire job. I will be very grateful for the answer :blush:

My jobs look like this:

image

So, I have a pre job script, Task 0 (which is responsible for rendering a 3ds Max 3D scene) and a post job script.

Everything is executed sequentially as needed, but the fact is that sometimes, when a pre job script is completed, say by Worker 1, then Worker 2 can start executing Task 0, and not Worker 1. That’s the point, I need all the job to be done by the same Worker which started the pre job script.

Is there any way to implement this? :thinking:

I know that it is possible to specifically assign specific pools or groups of Workers for each job, but this is not a very effective solution for my pipeline.

I also know about the Concurrent Tasks function, but I haven’t fully figured out its purpose and full functionality. From the information that I found, this function is more necessary for the so-called parallel execution of Tasks within the same job by the same Worker. But this is not exactly what I need, since I have only one Worker performing each job.

@Justin_B I’m really sorry to bother you, but I still haven’t found a more effective solution than forcibly assigning a specific Worker to each job, which is not a good option in my case. :pleading_face: :pray:

The problem clearly exists, since I recently had a case where the prejob script and Task 0 were executed by the same Worker, and the postjob script was executed by a completely different one, which led to an incorrect result.

I’m just trying to figure out if there is any functionality that will forcibly limit the job to the exact Worker which started executing the prejob script?

Make those pre/post task scripts instead if hard-coding a single machine to the machine list isn’t ok.

There’s no other way to ensure multiple tasks from a given job stay one a single machine. But a pre/post task scripts are call considered part of a single task and wont be divided.

1 Like

I see. Thank you very much for the answer :hugs:

1 Like