Skip to main content

DIRAC is an interware, meaning a software framework for distributed computing.

Project description

DIRAC

https://badge.fury.io/py/DIRAC.svg https://img.shields.io/conda/vn/conda-forge/dirac-grid https://zenodo.org/badge/DOI/10.5281/zenodo.1451647.svg

DIRAC is an interware, meaning a software framework for distributed computing.

DIRAC provides a complete solution to one or more user community requiring access to distributed resources. DIRAC builds a layer between the users and the resources offering a common interface to a number of heterogeneous providers, integrating them in a seamless manner, providing interoperability, at the same time as an optimized, transparent and reliable usage of the resources.

DIRAC has been started by the LHCb collaboration who still maintains it. It is now used by several communities (AKA VO=Virtual Organizations) for their distributed computing workflows.

DIRAC is written in python 2.7.13 and transitioning to python 3.

Status master branch (stable):

Basic Tests Status Dirac Install Status Pilot Wrapper Status Integration Tests Status Documentation Status

Status integration branch (devel):

Basic Tests Status Dirac Install Status Pilot Wrapper Status Integration Tests Status Documentation Status

Install

There are basically 2 types of installations: client, and server.

For DIRAC client installation instructions, see the web page.

For DIRAC server installation instructions, see the web page.

The supported distributions are EL6 (e.g. SLC6) and EL7 (e.g. CC7).

As of DIRAC 7.2 there is also experimental support for Python 3 based clients. There are three available options for installation:

  1. DIRACOS2: This is the only fully supported method, see the DIRACOS 2 documentation.

  2. Conda / Mamba from conda-forge : We recommend making a new environment for DIRAC using

    mamba create --name my-dirac-env -c conda-forge dirac-grid
    conda activate my-dirac-env
  3. Pip: Provided suitable dependencies are available DIRAC can be installed with pip install DIRAC. Support for installing the dependencies should be sought from the upstream projects.

Development

Contributing

DIRAC is a fully open source project, and you are welcome to contribute to it. A list of its main authors can be found here A detailed explanation on how to contribute to DIRAC can be found in this page. For a quick’n dirty guide on how to contribute, simply:

  • fork the project

  • work on a branch

  • create a Pull Request, target the “integration” branch.

Code quality

The contributions are subject to reviews.

Pylint, and pep8 style checker are run regularly on the source code. The .pylintrc file defines the expected coding rules and peculiarities (e.g.: tabs consists of 2 spaces instead of 4). Each Pull Request is checked for pylint and pep8 compliance.

Each PR is a also subject to check for python 3 compatibility. If you are issuing PRs that are devoted to future versions of DIRAC (so, not for patch releases), for each of the python files touched please run (and react to):

pylint --rcfile=tests/.pylintrc3k --py3k --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" --extension-pkg-whitelist=numpy path/to/file.py

Testing

Unit tests are provided within the source code. Integration, regression and system tests are instead in the DIRAC/tests/ directory. Run pytest to run all unit tests (it will include the coverage).

Acknowledgements

This work is co-funded by the EOSC-hub project (Horizon 2020) under Grant number 777536

eu-logo eosc-hub-web

Project details


Release history Release notifications | RSS feed

This version

7.2.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DIRAC-7.2.9.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

DIRAC-7.2.9-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file DIRAC-7.2.9.tar.gz.

File metadata

  • Download URL: DIRAC-7.2.9.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for DIRAC-7.2.9.tar.gz
Algorithm Hash digest
SHA256 a2df2bb39e6618526ab3a24d525fbf6480ee4d6cf1ddb202db22c709ecbdc7bb
MD5 125f23d578bdd23eaad7d3df8dc0a1ad
BLAKE2b-256 b1bc1274ac81ec9e37911d1d8458fa6d3a15508d79848cb1a3f8c0e50df625dc

See more details on using hashes here.

File details

Details for the file DIRAC-7.2.9-py3-none-any.whl.

File metadata

  • Download URL: DIRAC-7.2.9-py3-none-any.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for DIRAC-7.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 21bde16c5d7d6fc27bc4786d6e9fee899ec546882912c3c77dd858d84e097b2f
MD5 f83807ec70925555692e19b1718b09f4
BLAKE2b-256 84db954ead40daf51fccab0c8f07d7ca529cbca47be48f92aa15aee89569194f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page