BwUniCluster2.0/Software/Python Dask

From bwHPC Wiki
< BwUniCluster2.0‎ | Software
Revision as of 10:46, 19 April 2020 by J Ruess (talk | contribs) (Using Dask)
Jump to: navigation, search

This guide explains how to use Python Dask and dask-jobqueue on bwUniCluster2.0.

1 Installation

Use on of our pre-configured Python modules and load them with 'module load ...'. You have to install the packages 'dask' and 'das-jobqueue' if your are yousing an own conda environment.

2 Using Dask

In a new interactive shell, execute execute the following commands in Python:

>>> from dask_jobqueue import SLURMCluster
>>> cluster = SLURMCluster(cores=XX, memory='XX GB', queue='XXX')
>>>