BwUniCluster2.0/Software/Python Dask: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
No edit summary
m (H Winkhardt moved page BwUniCluster 2.0 Python Dask to BwUniCluster2.0/Software/Python Dask without leaving a redirect)
 
(23 intermediate revisions by 2 users not shown)
Line 4: Line 4:
This guide explains how to use Python Dask and dask-jobqueue on bwUniCluster2.0.
This guide explains how to use Python Dask and dask-jobqueue on bwUniCluster2.0.


== Installation ==
== Installation and Usage ==
Please have a look at our [https://github.com/hpcraink/workshop-parallel-jupyter Workshop] on how to use Dask on bwUniCluster2.0 (2_Grundlagen: Environment erstellen and 6_Dask). This is currently only available in German.
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.

== Using Dask ==
In Python, execute the following commands:

<pre>
>>> from dask_jobqueue import SLURMCluster
>>> cluster = SLURMCluster(cores=XX, memory='XX GB', queue='XXX')
</pre>
----
[[Category:bwUniCluster_2.0|Access]][[Category:Access|bwUniCluster 2.0]]

Latest revision as of 11:46, 27 February 2024

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

Installation and Usage

Please have a look at our Workshop on how to use Dask on bwUniCluster2.0 (2_Grundlagen: Environment erstellen and 6_Dask). This is currently only available in German.