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.
Supported clusters:
Cheyenne
Casper (DAV)
CGD’s Hobart
Installation
ncar-jobqueue can be installed from PyPI with pip:
pip install ncar-jobqueue
Usage
Casper
>>> from ncar_jobqueue import NCARCluster
>>> from dask.distributed import Client
>>> cluster = NCARCluster()
>>> cluster
NCARCluster(cores=0, memory=0 B, workers=0/0, jobs=0/0)
>>> cluster.scale(2)
>>> cluster
NCARCluster(cores=2, memory=50.00 GB, workers=2/2, jobs=2/2)
>>> client = Client(cluster)
Cheyenne
>>> from ncar_jobqueue import NCARCluster
>>> from dask.distributed import Client
>>> cluster = NCARCluster()
>>> cluster
NCARCluster(cores=0, memory=0 B, workers=0/0, jobs=0/0)
>>> cluster.scale(2)
>>> cluster
NCARCluster(cores=72, memory=218.00 GB, workers=2/2, jobs=2/2)
>>> client = Client(cluster)
Hobart
>>> from ncar_jobqueue import NCARCluster
>>> from dask.distributed import Client
>>> cluster = NCARCluster()
>>> cluster
NCARCluster(cores=0, memory=0 B, workers=0/0, jobs=0/0)
>>> cluster.scale(2)
>>> cluster
NCARCluster(cores=96, memory=192.00 GB, workers=2/2, jobs=2/2)
>>> client = Client(cluster)
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
Built Distribution
File details
Details for the file ncar-jobqueue-2019.10.16.tar.gz
.
File metadata
- Download URL: ncar-jobqueue-2019.10.16.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ad459e67816a388c06eefae4385fcd86216edd7784c759c3eaf5540191de60 |
|
MD5 | 545e5ad918aa564a8c115c76937c448b |
|
BLAKE2b-256 | 5f7fb14ef048d1208cc019d6bf33bfde234fb295a29ddf779790228c71aaa05c |
File details
Details for the file ncar_jobqueue-2019.10.16-py3-none-any.whl
.
File metadata
- Download URL: ncar_jobqueue-2019.10.16-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2955049e8f9dbe27e86c6049e430990352c3f8c4b4ed09695054b4df115d82d |
|
MD5 | adc2610b4e9678b70117a04b68b59bfb |
|
BLAKE2b-256 | 7dba31572ee229b35b76f280c9ed80ff12be0c6a0e3f64b40741b7b8e690ca7c |