https://github.com/biocomputingup/drmaatic-lib
https://github.com/biocomputingup/drmaatic-lib
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/biocomputingup/drmaatic-lib
- Owner: BioComputingUP
- Created: 2023-12-20T08:32:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-13T10:33:09.000Z (over 1 year ago)
- Last Synced: 2025-02-09T06:20:15.308Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DRMAAtic-lib
Scheduling libraries for DRMAAtic @BioCompUP, wrapping the ``drmaa-python`` library and adding the implementations
for Slurm and SGE.
## Installation
```shell
pip install DRMAAtic-lib
```
This will also pull the ``drmaa-python`` library. You can see the latest version of the library [here](https://pypi.org/project/DRMAAtic-lib/).
## 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
- [slurm-drmaa](https://github.com/natefoo/slurm-drmaa) for Slurm
- ``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
```shell
export SGE_ROOT=/path/to/gridengine
export SGE_CELL=default
```
### SLURM
Set the path to the libdrmaa library C binding
```shell
export DRMAA_LIBRARY_PATH=/usr/lib/slurm-drmaa/libdrmaa.so
```