Skip to main content

UGE DRMAA2 Python API

Project description

  1. Copyright 2008-2022 Altair Engineering Inc. Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License.

    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

    See the License for the specific language governing permissions and limitations under the License.

UGE DRMAA v2 Python API

Prerequisites

UGE DRMAA2 requires recent versions of the following software:

  1. UGE (8.6.8 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.8.1.tar.gz (39.3 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.8.1-py2-none-any.whl (60.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: uge-drmaa2-8.8.1.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5

File hashes

Hashes for uge-drmaa2-8.8.1.tar.gz
Algorithm Hash digest
SHA256 602b08c41d6360e3d0dd1068c4175d90c76869f247b43fc8f30ff6fa98ffc42c
MD5 f2dc01f2bdf69ab68b90f38b042fcda8
BLAKE2b-256 5e15f61b59a4085e69d71c546e9a3665d183faaa81bf9faddee98570a99cb856

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uge_drmaa2-8.8.1-py2-none-any.whl
  • Upload date:
  • Size: 60.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.5

File hashes

Hashes for uge_drmaa2-8.8.1-py2-none-any.whl
Algorithm Hash digest
SHA256 8251d60916af2fa186b24d9974248f5f7c4983210deb0ba87448ec62c099fa89
MD5 8638b10d14a5dd199a049b43fff4d174
BLAKE2b-256 af84d57b72162ba8a5b844a77f42ef88fedb1e53afd9f79ac48277d1486e979a

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