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
ncar-jobqueue-2019.8.2.tar.gz
(10.0 kB
view details)
Built Distribution
File details
Details for the file ncar-jobqueue-2019.8.2.tar.gz
.
File metadata
- Download URL: ncar-jobqueue-2019.8.2.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 053c36b26c9825c2763844c104d49b2050ae73ea4e1db22a5901b8d5f6cd0fcf |
|
MD5 | 2c1439e6122667b230284870425ed5c8 |
|
BLAKE2b-256 | 230e37fc51f81a0527c4f0a9682afaf313639476514ca062e421f1d85f1ed651 |
File details
Details for the file ncar_jobqueue-2019.8.2-py2.py3-none-any.whl
.
File metadata
- Download URL: ncar_jobqueue-2019.8.2-py2.py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0065a8939c2f061cf94f97430d18dc4075073f3d46698ed5c441e7b038fdde3 |
|
MD5 | 035032dc97e382b310acfb1811bac380 |
|
BLAKE2b-256 | 88d89905e1fb1462f52b78a65bd47a121d0e2eff3af9452576f1bc7de55cd0a1 |