Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 985 Bytes

File metadata and controls

30 lines (26 loc) · 985 Bytes

DRMAAtic-lib

Scheduling libraries for DRMAAtic @BioCompUP, wrapping the drmaa-python library and adding the implementations for Slurm and SGE.

Installation

pip install DRMAAtic-lib

This will also pull the drmaa-python library. You can see the latest version of the library here.

Requirements

  • Slurm or SGE installed
  • libslurm-dev library for Slurm or gridengine-dev for SGE, both downloadable with apt
  • libdrmaa C bindings for Slurm or SGE
  • drmaa-python python library

ENV variables

Set the env variables for the drmaa-python library. With PyCharm you can set this env variables in the run configuration.

SGE

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

SLURM

Set the path to the libdrmaa library C binding

export DRMAA_LIBRARY_PATH=/usr/lib/slurm-drmaa/libdrmaa.so