Utilities for expanding dask-jobqueue with appropriate settings for NCAR's clusters
Project description
Utilities for expanding dask-jobqueue with appropriate settings for NCAR’s clusters.
>>> from ncar_jobqueue import NCARCluster
>>> from distributed import Client
>>> cluster = NCARCluster(cores=2, memory='10GB')
>>> cluster
NCARCluster(cores=0, memory=0 B, workers=0/0, jobs=0/0)
>>> cluster.scale(1)
>>> cluster
NCARCluster(cores=2, memory=10.00 GB, workers=1/1, jobs=1/1)
>>> client = Client(cluster)
>>> client
<Client: scheduler='tcp://10.12.205.20:40698' processes=1 cores=2>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ncar-jobqueue-2019.3.8.tar.gz
(23.1 kB
view hashes)
Built Distribution
Close
Hashes for ncar_jobqueue-2019.3.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d7be394e7a3e995ccd553177bde6589837bf67d7d0b5a0fc0c294c68238770 |
|
MD5 | 92762c900c9eaf0559e5fbfe44bf6288 |
|
BLAKE2b-256 | bf464ed5955a3679e8afee7e551998df7ac7646d05add627220bc360b6a654fe |