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
Add SLURM_MAX_ARRAY_SIZE env var for to control maximum running slurm jobs for array jobs in cluster_tools (#788)
* add env for slurm max running array jobs
* renamed max_running to max_running_size and SLURM_MAX_RUNNING to SLURM_MAX_RUNNING_SIZE
* add SLURM_MAX_ARRAY_SIZE to documentation
* ran ./format.sh and ./lint.sh
* ran ./lint.sh again with black==21.12b0
Co-authored-by: Philipp Otto <[email protected]>
Copy file name to clipboardExpand all lines: cluster_tools/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ if __name__ == '__main__':
26
26
The `cluster_tools` automatically determine the slurm limit for maximum array job size and split up larger job batches into multiple smaller batches.
27
27
Also, the slurm limit for the maximum number of jobs which are allowed to be submitted by a user at the same time is honored by looking up the number of currently submitted jobs and only submitting new batches if they fit within the limit.
28
28
29
-
If you would like to configure these limits independently, you can do so by setting the `SLURM_MAX_ARRAY_SIZE` and `SLURM_MAX_SUBMIT_JOBS` environment variables.
29
+
If you would like to configure these limits independently, you can do so by setting the `SLURM_MAX_ARRAY_SIZE` and `SLURM_MAX_SUBMIT_JOBS` environment variables. You can also limit the maximum number of simultaneously running tasks within the slurm array job(s) by using the `SLURM_MAX_RUNNING_SIZE` environment variable.
0 commit comments