The DRMAA API

Setting up the DRMAA API.

Motivation

The Distributed Resource Management Application API (DRMAA) → is used by workflow managers such as cgatcore → to communicate with HPC queue managers while submitting and monitoring jobs.

The drmaa package provides a Python interface to the DRMAA library.

This page describes the setup necessary for using DRMAA on the CCB cluster. This setup is a prerequisite for using cgatcore → pipelines.

Setup

On the CCB cluster, in your ~/.bashrc file, add the following chunk of code to set the environment variable DRMAA_LIBRARY_PATH.

if [[ $PS1 ]]; then
    export DRMAA_LIBRARY_PATH=/usr/lib64/libdrmaa.so
fi

You are now ready to use the DRMAA library in cgatcore → pipelines.