Skip to content
Python wrapper around the C DRMAA library.
Branch: master
Clone or download
Latest commit ed6b926 Nov 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs fix a typo (#56) Jun 7, 2017
drmaa Update version number. Nov 8, 2018
examples Fixed typo (#55) Jun 7, 2017
test Fix issue where string_vector dies when given an int (#57) Jul 3, 2017
travis
.coveragerc Change Travis testing to use Coveralls as well Nov 27, 2013
.gitattributes Add .gitattributes file to keep line endings normalized. Dec 3, 2013
.gitignore Remove built documentation, since that's what RTFD is for. Nov 28, 2013
.travis.yml Need newer version of setuptools for Python 3.7 Sep 25, 2018
MANIFEST.in Add docs to MANIFEST.in Nov 28, 2013
README.rst Drop Python 2.6 Jul 28, 2018
license.txt license added Feb 4, 2009
setup.cfg Package the license file in the wheel Mar 18, 2018
setup.py Bump version to 0.7.8 and update email Jul 3, 2017

README.rst

DRMAA Python

Build status 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.

You can’t perform that action at this time.