Utilities for expanding dask-jobqueue with appropriate settings for NCAR's clusters
Project description
ncar-jobqueue
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
ncar-jobqueue-2020.1.7.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file ncar-jobqueue-2020.1.7.tar.gz
.
File metadata
- Download URL: ncar-jobqueue-2020.1.7.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b70f0b03bcd964966c006c2ab90ee56302a21df3995d91a8098b838b0f951c8 |
|
MD5 | 9542554915753af9bf638c3ca352cbbb |
|
BLAKE2b-256 | dd6be7f18ea43b063cbb81a30684890bfc99481abc0bb073ec2424bc066604cf |
File details
Details for the file ncar_jobqueue-2020.1.7-py3-none-any.whl
.
File metadata
- Download URL: ncar_jobqueue-2020.1.7-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66491cfaae75e4cf4954c028156ea6c48737b399d479da0abad07ee2ad6ff04b |
|
MD5 | b048d87696dfc308eb8b91589397c0a5 |
|
BLAKE2b-256 | c671108b98da72a744604fdc16f083048fa94204e23ec0d42811fc026bd1b347 |