Donshel
Donshel

Reputation: 624

Job dependencies across several clusters

Let's say I submit a job to several cluster queues with --clusters=a,b,c and sbatch says that it was submitted with the id ID on cluster a.

Can I submit another job with the first one as dependency, but on a different cluster? Something like --dependency=afterok:ID and --clusters=b,c. To me this does not seem possible as ID is only relevant within the queue of cluster a, but I want to be sure.

Upvotes: 1

Views: 307

Answers (1)

damienfrancois
damienfrancois

Reputation: 59260

If the clusters are organised as a federation, job IDs are globally unique so this will work. If they are not part of a federation, job IDs are relevant only in the scope of each cluster, and your intuition is correct. See this doc for further information.

Upvotes: 1

Related Questions