I would like to program job limits for the LSF command bsub into my Perl script which launches LSF jobs under the hood. If I have something like 2000 jobs, I would like to run at most 20 jobs at any given time. I have seen scripts that launch 20 jobs and then wait for them all to finish before launching another 20.
I would like to program job limits for the LSF command bsub into my
Share
Several existing Perl modules, including
Parallel::ForkManagerandForks::Super(of which I am the author) offer this functionality.There is also an
LSF::JobManagermodule that I don’t know anything else about.Parallel::ForkManager skeleton
And in Forks::Super