a python DRMAA library
Project description
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.6+
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
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
Built Distribution
Hashes for drmaa-0.7.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ffb8a59dcc86cd86fda6b6e84e507791552671f8d68698159040008f4e34d6 |
|
MD5 | f2c7f2185b6bbf7d2b22f0067342edeb |
|
BLAKE2b-256 | fa344a8184bb7ca9380652e12794b8452492a7b0985bcbaf56ff3eb9f23f101c |