UGE DRMAA2 Python API
Project description
Copyright 2016-2019 Univa Corporation
This software is licensed using Apache License 2.0 Please read the LICENSE file for a complete listing of the License.
UGE DRMAA v2 Python API
Prerequisites
UGE DRMAA2 requires recent versions of the following software:
UGE (8.6.8 or above)
Python (v2.7.5 or later in 2.7 series, or in any 3.x series)
Setuptools (0.9.8 or later; for egg installation)
Nose (1.3.7 or later; for testing)
Sphinx (1.1.3 or later; for generating documentation)
Standard development tools (make)
Python wheel module (0.32.3 or later; for generating wheel package)
enum34 module for IntEnum (remove enum module)
The software versions listed above were used for API development and testing, on CentOS 7.2 (64-bit).
Build/Package
In the top level directory run:
$ make clean
$ make
This command should create installable egg and wheel packages, as well as generate documentation and copy it into the dist directory.
Basic API Usage
For simple testing, without installing UGE DRMAA2 egg or wheel package, do the following:
Setup SGE environment:
$ source $SGE_ROOT/$SGE_CELL/common/settings.sh
Setup PYTHONPATH environment variable to point to the top level directory:
$ export PYTHONPATH=<UGE_DRMAA2_PYTHON_ROOT>
This step is not needed if UGE DRMAA2 egg or wheel package is installed.
At this point you can import and use the drmaa2 module:
$ python
>>> import drmaa2
>>> print(drmaa2.get_drmaa_name())
Univa Grid Engine Drmaa V2
Note that there are a number of API usage examples located under the examples directory.
Running Test Suite
Setup SGE environment:
$ source $SGE_ROOT/$SGE_CELL/common/settings.sh
In the top level directory run:
$ make test
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uge-drmaa2-8.6.16.tar.gz.
File metadata
- Download URL: uge-drmaa2-8.6.16.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.6.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
979d43c9a09fe8b89555a4bd9193623e7ab9b0f1058fe272bd51d4db5a4e66dc
|
|
| MD5 |
af79e794d0a84709edfaedf001695c31
|
|
| BLAKE2b-256 |
9282c455b3e02e3b3d28303de49444a873d3e481b8799bf00872887b45195989
|
File details
Details for the file uge_drmaa2-8.6.16-py2-none-any.whl.
File metadata
- Download URL: uge_drmaa2-8.6.16-py2-none-any.whl
- Upload date:
- Size: 56.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.6.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22feda1ea82c17a8304bf745e238261bc93c1f44f086ce35145f2ffcf1593559
|
|
| MD5 |
9d0cb33304c5c38a21870ea0c79cedb5
|
|
| BLAKE2b-256 |
3c5d5d65c26fe9e83ba00c3ddbbeefa150e64d2ea22bd82212132186e30d743d
|