Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
DRMAA Library

Shared code specific for running DRMAA jobs. More...

Data Structures

struct  DrmaaServiceJob
 A ServiceJob that also has the data for running as Drmaa-based task. More...
 
struct  DrmaaTool
 A Tool for running Drmaa jobs. More...
 

Macros

#define DRMAA_ID_BUFFER_SIZE   (256)
 The default buffer size used for storing job ids. More...
 

Functions

bool InitDrmaa (void)
 Initialise a DRMAA session. More...
 
bool ExitDrmaa (void)
 Close a DRMAA session. More...
 

Detailed Description

Shared code specific for running DRMAA jobs.

Macro Definition Documentation

◆ DRMAA_ID_BUFFER_SIZE

#define DRMAA_ID_BUFFER_SIZE   (256)

The default buffer size used for storing job ids.

Function Documentation

◆ InitDrmaa()

bool InitDrmaa ( void  )

Initialise a DRMAA session.

This has to be done once globally for any process which will use DRMAA calls

Returns
true if the DRMAA session was initialised successfully, false upon error.

◆ ExitDrmaa()

bool ExitDrmaa ( void  )

Close a DRMAA session.

This has to be done once globally for any process which will use DRMAA calls

Returns
true if the DRMAA session was closed successfully, false upon error.