Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
themeEclipse
titleSlurmCluster
from dask.distributed import Client,Scheduler
from dask_jobqueue import SLURMCluster
cluster = SLURMCluster(cores=4,memory="31GB47GB")
client = Client(cluster)
cluster.scale(cores=16)

Wait until the "client" command gives the following information:

...

Client

...

Cluster

  • Workers: 16
  • Cores: 16
  • Memory: 115.52 GiB

Image Added


You can monitor the Dask cluster activities by following the instructions for the Dask-JupyterLab extension.

...

For further tuning on job performance and memory utilisation, please refer to Using dask and xarray (superseded).