Skip to main content

a python DRMAA library

Project description

Build status https://img.shields.io/coveralls/pygridtools/drmaa-python/stable.svg PyPI downloads Latest version on PyPI License

Distributed Resource Management Application API (DRMAA) bindings for Python. For more information read the docs.

If you simply want to run Python functions on a DRMAA-compatible grid, use GridMap.

Requirements

  • Python 2.7+

  • A DRMAA-compatible cluster (e.g., Grid Engine)

Installation

To use the DRMAA Python library, you need to install it via pip:

pip install drmaa

and then setup any environment variables that are necessary for your particular DRM system. For SGE, this means SGE_ROOT and SGE_CELL, which should be set as follows:

export SGE_ROOT=/path/to/gridengine
export SGE_CELL=default

where /path/to/gridengine/ is replaced with the actual path to your Grid Engine installation, and default is replaced with your installation’s actual cell. The path is typically /var/lib/gridengine.

You will also need access to the libdrmaa.so.1.0 C library, which can often be installed as part of the libdrmaa-dev package on most Unixes. Once you have installed that, you may need to tell DRMAA Python where it is installed by setting the DRMAA_LIBRARY_PATH environment variable, if it is not installed in a location that Python usually looks for libraries.

export DRMAA_LIBRARY_PATH=/usr/lib/libdrmaa.so.1.0

Acknowledgments

Thank you to StatPro and Educational Testing Service for funding the development of DRMAA Python.

Changelog

See GitHub releases.

Project details


Download files

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

Source Distribution

drmaa-0.7.9.tar.gz (30.6 kB view details)

Uploaded Source

File details

Details for the file drmaa-0.7.9.tar.gz.

File metadata

  • Download URL: drmaa-0.7.9.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for drmaa-0.7.9.tar.gz
Algorithm Hash digest
SHA256 12540cd98afc40d5c0b2f38d7b0e46468d1c45192a2f401f41fc2eda9c9f5542
MD5 6af5c9c83d33fdb2fd28094717422a54
BLAKE2b-256 de3f3f74887d9ba45c34a9b12c754d064ba2a8f9458d6ab3967915d4337bc6df

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