Hello,

Suppose I have two job arrays, where the jobs in one each depend on a
subset of jobs in the other. (ex: array 1 has 100 jobs, and each job
in array 2 depends on the output of 10 jobs from array 1)

I could make the dependent array wait on the initial array using
"--depend=afterany:123", but that means the dependent array has to
wait for the tails of the first array to complete before it does
anything.

The other option in this example would be to split array 2 up in to 10
separate arrays, which each depends explicitly on the corresponding
jobs from array 1 with something like
"--depend=afterany:123_0:123_1:..."

Are these my two options, or does slurm support a different way to
express these dependencies?

Thanks!
Andrew

-- 
--
Andrew Melo

Reply via email to