Thanks. That should work nicely.
-Paul Edmon-
On 10/28/2013 8:37 PM, Moe Jette wrote:
Paul,
I'm working on getting that into the next release v2.6.4, which should
be available within days. To wait for all job array elements to
complete, you would just specify the primary job id. You can also
specify individual array elements. For example:
# wait for specific elements of job array
sbatch --depend=123_4 ...
sbatch --depend=after:123_4:123_5 ...
# wait all elements of job array
sbatch --depend=after:123 ...
Quoting Paul Edmon <[email protected]>:
So if I have a job that I want to run after an array of jobs complete
how do I do that with job dependencies? I want to make sure that all
the jobs in the array have completed prior to the job I want to run
runs. Would you reference the primary job ID? Or would you
reference the entire span of jobs namely JobID_[1-100]?
-Paul Edmon-