Walltime of cluster scheduler #177
-
|
I have a short question: The walltime I set in the cluster scheduler, is this the walltime of the worker or the simulation? The documentation says |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
The walltime (+ some extra minutes) is basically the lifetime of one worker. When the lifetime is over, the worker is restarted. Assuming that you set |
Beta Was this translation helpful? Give feedback.
-
|
The wall time should be the wall time of the Slurm job that runs the Dask worker. The recommendation on how to choose it critically depends on whether you want to use the |
Beta Was this translation helpful? Give feedback.
-
|
@maxdinkel and @sbrandstaeter Thank you very much for your answers! |
Beta Was this translation helpful? Give feedback.
The wall time should be the wall time of the Slurm job that runs the Dask worker.
The recommendation on how to choose it critically depends on whether you want to use the
restart_workerfeature or not.The case in which you set
restart_worker=Trueis easier; the wall time for the worker should be set a little above the expected runtime of a single simulation in your example, 20 min.In case you use
restart_worker=False, it becomes a bit more difficult to estimate the recommended wall time. In your example, I would say the following: assuming that you really get your five Dask workers for the entire time, the ideal wall time is 100/5 * 20 min = 400 min. Problems begin when you dont get all…