Skip to main content

UGE DRMAA2 Python API

Project description

  1. 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:

  1. UGE (8.6.0 or above)

  2. Python (v2.7.5 or later in 2.7 series, or in any 3.x series)

  3. Setuptools (0.9.8 or later; for egg installation)

  4. Nose (1.3.7 or later; for testing)

  5. Sphinx (1.1.3 or later; for generating documentation)

  6. Standard development tools (make)

  7. Python wheel module (0.32.3 or later; for generating wheel package)

  8. 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:

  1. Setup SGE environment:

$ source $SGE_ROOT/$SGE_CELL/common/settings.sh
  1. 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.

  1. 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

  1. Setup SGE environment:

$ source $SGE_ROOT/$SGE_CELL/common/settings.sh
  1. In the top level directory run:

$ make test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uge-drmaa2-8.6.11.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uge_drmaa2-8.6.11-py2-none-any.whl (56.7 kB view details)

Uploaded Python 2

File details

Details for the file uge-drmaa2-8.6.11.tar.gz.

File metadata

  • Download URL: uge-drmaa2-8.6.11.tar.gz
  • Upload date:
  • Size: 40.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

Hashes for uge-drmaa2-8.6.11.tar.gz
Algorithm Hash digest
SHA256 00abeb27c85b6807f79f8e8c7509c2e6251a80f13b8ecb59062571b0e2951b7c
MD5 0049e8e810bf7805feae633f5ddec914
BLAKE2b-256 853e9acb4c9614bc9c965d4cb8292187f1e3e3e8dc6e11dc6dfe36fca9367f7e

See more details on using hashes here.

File details

Details for the file uge_drmaa2-8.6.11-py2-none-any.whl.

File metadata

  • Download URL: uge_drmaa2-8.6.11-py2-none-any.whl
  • Upload date:
  • Size: 56.7 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

Hashes for uge_drmaa2-8.6.11-py2-none-any.whl
Algorithm Hash digest
SHA256 7bf9b427cae77f8439e2eca4f61ae289c45ab47da73d0bf4bcc111fa69020ff2
MD5 a5b00e84b7f0ff7f6fa53e46308b29a9
BLAKE2b-256 7319b88048b4355b2f2bc67e395210ff77c9b340f59b0ccfe25213305138a3dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page