File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11401140 "source": [
11411141 "By the default the calculations are running locally, but it is also possible to evaluate new generations on a cluster.\n",
11421142 "\n",
1143- "First the cluster needs to be configured\n",
1143+ "First a cluster needs to be configured\n",
11441144 "\n",
11451145 "```python\n",
11461146 "cluster = SLURMCluster(\n",
11521152 " job_extra_directives=[]\n",
11531153 ")\n",
11541154 "\n",
1155- "cluster.scale(4) # running on 4 SLURM allocations in parallel \n",
1155+ "cluster.scale(4)\n",
11561156 "\n",
11571157 "runner = Runner(RunnerMode.DASK_JOB_QUEUE_CLUSTER, dask_cluster=cluster)\n",
11581158 "```\n",
11591159 "\n",
1160- "and then each iteration takes the `runner` as argument. That is call `out(runner=runner)` insted of `out(njobs=njobs)`.\n",
1160+ "and then each iteration takes the `runner` as an argument. That is one needs to call `out(runner=runner)` instead of `out(njobs=njobs)`.\n",
11611161 "\n",
11621162 "An example demonstrates use of SLURM, the other supported cluster types can be found here https://jobqueue.dask.org/en/latest/clusters-api.html."
11631163 ]
You can’t perform that action at this time.
0 commit comments