File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 25
25
26
26
job_parameters = """
27
27
cores : int
28
- Total number of cores per job
28
+ Total number of CPU cores on which all worker threads inside a job will run.
29
+ The number of threads per worker process are determined using the formula ``cores / processes``.
30
+ Used by job queuing system by default as amount of CPUs per job.
29
31
memory: str
30
- Total amount of memory per job
32
+ Total amount of memory to be used by all workers inside a job.
33
+ Used by job queuing system by default as amount of memory per job.
31
34
processes : int
32
35
Cut the job up into this many processes. Good for GIL workloads or for
33
36
nodes with many cores.
Original file line number Diff line number Diff line change @@ -166,10 +166,11 @@ class SLURMCluster(JobQueueCluster):
166
166
walltime : str
167
167
Walltime for each worker job.
168
168
job_cpu : int
169
- Number of cpu to book in SLURM, if None, defaults to worker `threads * processes`
169
+ Number of CPUs to request in SLURM for each job.
170
+ This option might be useful to request more CPUs than total number of worker threads
171
+ for some complex non-python code. If None, defaults to ``cores``.
170
172
job_mem : str
171
- Amount of memory to request in SLURM. If None, defaults to worker
172
- processes * memory
173
+ Amount of memory to request in SLURM for each job, If None, defaults to ``memory``.
173
174
job_extra : list
174
175
Deprecated: use ``job_extra_directives`` instead. This parameter will be removed in a future version.
175
176
job_extra_directives : list
You can’t perform that action at this time.
0 commit comments