If you simply want to run Python functions on a DRMAA-compatible grid, use GridMap.
- Python 2.7+
- A DRMAA-compatible cluster (e.g., Grid Engine)
To use the DRMAA Python library, you need to install it via
pip install drmaa
and then setup any environment variables that are necessary for your particular DRM system.
For SGE, this means
SGE_CELL, which should be set as follows:
export SGE_ROOT=/path/to/gridengine export SGE_CELL=default
/path/to/gridengine/ is replaced with the actual path to your Grid Engine installation,
default is replaced with your installation's actual cell. The path is typically
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.