You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: Can I control the execution order of jobs in the same chunk?
The situation is that I have a registry with many jobs and I want to use chunking. Some of the jobs are really fast, others are quite slow. I have more or less accurate run time estimates. I would like the jobs within one chunk to be executed such that the slowest job is executed first and the fastest is executed last. The idea is that if the batch job runs into the walltime, it would be nice to stop while executing a rather fast job (and thus waste less computational resources). Is there any way to control the execution order within one chunk?
On my local computer I have tried (with cluster function interactive) the following code:
So it seems that chunk 1 is executed before chunk 2 but within one chunk, the jobs are executed sorted by job.id, even though I passed them to submitJobs in a different order.
The text was updated successfully, but these errors were encountered:
Question: Can I control the execution order of jobs in the same chunk?
The situation is that I have a registry with many jobs and I want to use chunking. Some of the jobs are really fast, others are quite slow. I have more or less accurate run time estimates. I would like the jobs within one chunk to be executed such that the slowest job is executed first and the fastest is executed last. The idea is that if the batch job runs into the walltime, it would be nice to stop while executing a rather fast job (and thus waste less computational resources). Is there any way to control the execution order within one chunk?
On my local computer I have tried (with cluster function interactive) the following code:
So it seems that chunk 1 is executed before chunk 2 but within one chunk, the jobs are executed sorted by job.id, even though I passed them to submitJobs in a different order.
The text was updated successfully, but these errors were encountered: