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.13.tar.gz
.
File metadata
- Download URL: ncar-jobqueue-2019.10.13.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 | 1ebbbd19d88bd95191fd5eb3f386e16ba28cfe69eb30f2b7343fd172a6d72a42 |
|
MD5 | 39a92ab80782d68ad15224574ca70cf4 |
|
BLAKE2b-256 | bd8ff38fb1d4a38febc6df1b321c62667889259d396bf619ed605c1c24943b1e |
File details
Details for the file ncar_jobqueue-2019.10.13-py3-none-any.whl
.
File metadata
- Download URL: ncar_jobqueue-2019.10.13-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 | ee36abd573b689c29318ffd6f02fcae1cad7bee79cbe70aaf2f63ee2e6e0382d |
|
MD5 | 4c5360b0cddc8a038cdec5dd36d3b5e9 |
|
BLAKE2b-256 | 4b81ece0360bf43e5f0a11b0aaa0023a50b969926eaae3440e0ea2694d19fddc |