dask-lxplus
Builds on top of Dask-Jobqueue to enable jobs to run on the CERN HTCondor cluster via LXPLUS.
Summary
from distributed import Client
from dask_lxplus import CernCluster
import socket
cluster = CernCluster(
cores = 1,
memory = '3000MB',
disk = '10GB',
death_timeout = '60',
lcg = True,
nanny = False,
container_runtime = 'none',
log_directory = '/eos/user/b/ben/condor/log',
scheduler_options = {
'port': 8786,
'host': socket.gethostname(),
},
job_extra = {
'MY.JobFlavour': '"longlunch"',
},
)
CERN extras
There are a few changes in the wrapper to address some of the particular features of the CERN HTCondor cluster, but there are also a few changes to detail here.
Options
lcg: If set to True this will validate and use the LCG python environment per the managed LCG
releases. It will send the environment of the submitting scheduler to the batch worker node. DASK
normally requires that both the scheduler and the worker is the same python versions and libraries.
At CERN this would mean that you should, assuming say the default of EL9 worker nodes, that
the scheduler is run on something likelxplus.cern.chalso running EL9`.
An example use would be to do the following before running dask:
$ . /cvmfs/sft.cern.ch/lcg/views/LCG_107/x86_64-el9-gcc14-opt/setup.sh
container_runtime: Can be set to "singularity" or docker or "none". If a runtime is needed
for the worker, this selects which will be used for the HTCondor job the worker runs. In principle
it should not be necessary when using lcg and should therefore be set to "none". Default though
is "singularity".
worker_image: The image that will be used if container_runtime is defined to use one. The default
is defined in jobqueue-cern.yaml.
batch_name: Optionally set a string that will identify the jobs in HTCondor. The default is
"dask-worker"
Metadata
Release files for dask-lxplus 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dask_lxplus-0.3.3.tar.gz | 7.3 kB | Without provenance | Details for dask_lxplus-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dask_lxplus-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for dask_lxplus-0.3.3-py3-none-any.whl |
Total release size: 14.8 kB
Release files / dask_lxplus-0.3.3.tar.gz
| Download URL | dask_lxplus-0.3.3.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f62afdfd204931f6b01744a8617e3aaf57ff09d09d517ef117ad880cbfdde991
|
|
BLAKE2b-256 checksum How to use checksums |
292576ea564d67902d3914b14d5e208e3518afcdb1ff446f897ebce46d6f3d97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / dask_lxplus-0.3.3-py3-none-any.whl
| Download URL | dask_lxplus-0.3.3-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc6ba3b8f1c86d4915a6a630a25ee95832909d1dcafa5e0962b61cc327eb9b0c
|
|
BLAKE2b-256 checksum How to use checksums |
5665479e507d0c0ee85f5ac11e8aabf7b58a463f022535cdaa506e08937b0fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for dask-lxplus 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.