Logo Search packages:      
Sourcecode: pbs-drmaa version File versions

Modules | Defines | Typedefs | Functions

DRMAA interface.

Collaboration diagram for DRMAA interface.:

Modules

 Vector iteration functions.
 Job template operations.

Defines

#define DRMAA_ATTR_BUFFER   1024
#define DRMAA_BLOCK_EMAIL   "drmaa_block_email"
#define DRMAA_CONTACT_BUFFER   1024
#define DRMAA_CONTROL_HOLD   2
#define DRMAA_CONTROL_RELEASE   3
#define DRMAA_CONTROL_RESUME   1
#define DRMAA_CONTROL_SUSPEND   0
#define DRMAA_CONTROL_TERMINATE   4
#define DRMAA_DEADLINE_TIME   "drmaa_deadline_time"
#define DRMAA_DRM_SYSTEM_BUFFER   1024
#define DRMAA_DRMAA_IMPL_BUFFER   1024
#define DRMAA_DURATION_HLIMIT   "drmaa_duration_hlimit"
#define DRMAA_DURATION_SLIMIT   "drmaa_duration_slimit"
#define DRMAA_ERRNO_ALREADY_ACTIVE_SESSION   11
#define DRMAA_ERRNO_AUTH_FAILURE   3
#define DRMAA_ERRNO_CONFLICTING_ATTRIBUTE_VALUES   15
#define DRMAA_ERRNO_DEFAULT_CONTACT_STRING_ERROR   8
#define DRMAA_ERRNO_DENIED_BY_DRM   17
#define DRMAA_ERRNO_DRM_COMMUNICATION_FAILURE   2
#define DRMAA_ERRNO_DRMS_EXIT_ERROR   12
#define DRMAA_ERRNO_DRMS_INIT_FAILED   10
#define DRMAA_ERRNO_EXIT_TIMEOUT   23
#define DRMAA_ERRNO_HOLD_INCONSISTENT_STATE   21
#define DRMAA_ERRNO_INTERNAL_ERROR   1
#define DRMAA_ERRNO_INVALID_ARGUMENT   4
#define DRMAA_ERRNO_INVALID_ATTRIBUTE_FORMAT   13
#define DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE   14
#define DRMAA_ERRNO_INVALID_CONTACT_STRING   7
#define DRMAA_ERRNO_INVALID_JOB   18
#define DRMAA_ERRNO_NO_ACTIVE_SESSION   5
#define DRMAA_ERRNO_NO_DEFAULT_CONTACT_STRING_SELECTED   9
#define DRMAA_ERRNO_NO_MEMORY   6
#define DRMAA_ERRNO_NO_MORE_ELEMENTS   25
#define DRMAA_ERRNO_NO_RUSAGE   24
#define DRMAA_ERRNO_RELEASE_INCONSISTENT_STATE   22
#define DRMAA_ERRNO_RESUME_INCONSISTENT_STATE   19
#define DRMAA_ERRNO_SUCCESS   0
#define DRMAA_ERRNO_SUSPEND_INCONSISTENT_STATE   20
#define DRMAA_ERRNO_TRY_LATER   16
#define DRMAA_ERROR_PATH   "drmaa_error_path"
#define DRMAA_ERROR_STRING_BUFFER   4096
#define DRMAA_INPUT_PATH   "drmaa_input_path"
#define DRMAA_JOB_CATEGORY   "drmaa_job_category"
#define DRMAA_JOB_IDS_SESSION_ALL   "DRMAA_JOB_IDS_SESSION_ALL"
#define DRMAA_JOB_IDS_SESSION_ANY   "DRMAA_JOB_IDS_SESSION_ANY"
#define DRMAA_JOB_NAME   "drmaa_job_name"
#define DRMAA_JOBNAME_BUFFER   128
#define DRMAA_JOIN_FILES   "drmaa_join_files"
#define DRMAA_JS_STATE   "drmaa_js_state"
#define DRMAA_NATIVE_SPECIFICATION   "drmaa_native_specification"
#define DRMAA_NO_ERRNO   26
#define DRMAA_OUTPUT_PATH   "drmaa_output_path"
#define DRMAA_PLACEHOLDER_HD   "$drmaa_hd_ph$"
#define DRMAA_PLACEHOLDER_INCR   "$drmaa_incr_ph$"
#define DRMAA_PLACEHOLDER_WD   "$drmaa_wd_ph$"
#define DRMAA_PS_DONE   0x30
#define DRMAA_PS_FAILED   0x40
#define DRMAA_PS_QUEUED_ACTIVE   0x10
#define DRMAA_PS_RUNNING   0x20
#define DRMAA_PS_SYSTEM_ON_HOLD   0x11
#define DRMAA_PS_SYSTEM_SUSPENDED   0x21
#define DRMAA_PS_UNDETERMINED   0x00
#define DRMAA_PS_USER_ON_HOLD   0x12
#define DRMAA_PS_USER_SUSPENDED   0x22
#define DRMAA_PS_USER_SYSTEM_ON_HOLD   0x13
#define DRMAA_PS_USER_SYSTEM_SUSPENDED   0x23
#define DRMAA_REMOTE_COMMAND   "drmaa_remote_command"
#define DRMAA_SIGNAL_BUFFER   32
#define DRMAA_START_TIME   "drmaa_start_time"
#define DRMAA_SUBMISSION_STATE_ACTIVE   "drmaa_active"
#define DRMAA_SUBMISSION_STATE_HOLD   "drmaa_hold"
#define DRMAA_TIMEOUT_NO_WAIT   0
#define DRMAA_TIMEOUT_WAIT_FOREVER   -1
#define DRMAA_TRANSFER_FILES   "drmaa_transfer_files"
#define DRMAA_V_ARGV   "drmaa_v_argv"
#define DRMAA_V_EMAIL   "drmaa_v_email"
#define DRMAA_V_ENV   "drmaa_v_env"
#define DRMAA_WCT_HLIMIT   "drmaa_wct_hlimit"
#define DRMAA_WCT_SLIMIT   "drmaa_wct_slimit"
#define DRMAA_WD   "drmaa_wd"

Typedefs

typedef struct drmaa_attr_names_s drmaa_attr_names_t
typedef struct drmaa_attr_values_s drmaa_attr_values_t
typedef struct drmaa_job_ids_s drmaa_job_ids_t
typedef struct drmaa_job_template_s drmaa_job_template_t

Functions

int drmaa_allocate_job_template (drmaa_job_template_t **jt, char *error_diagnosis, size_t error_diag_len)
int drmaa_delete_job_template (drmaa_job_template_t *jt, char *error_diagnosis, size_t error_diag_len)
int drmaa_exit (char *error_diagnosis, size_t error_diag_len)
int drmaa_get_attribute (drmaa_job_template_t *jt, const char *name, char *value, size_t value_len, char *error_diagnosis, size_t error_diag_len)
int drmaa_get_attribute_names (drmaa_attr_names_t **values, char *error_diagnosis, size_t error_diag_len)
int drmaa_get_next_attr_name (drmaa_attr_names_t *values, char *value, size_t value_len)
int drmaa_get_next_attr_value (drmaa_attr_values_t *values, char *value, size_t value_len)
int drmaa_get_next_job_id (drmaa_job_ids_t *values, char *value, size_t value_len)
int drmaa_get_num_attr_names (drmaa_attr_names_t *values, size_t *size)
int drmaa_get_num_attr_values (drmaa_attr_values_t *values, size_t *size)
int drmaa_get_num_job_ids (drmaa_job_ids_t *values, size_t *size)
int drmaa_get_vector_attribute (drmaa_job_template_t *jt, const char *name, drmaa_attr_values_t **values, char *error_diagnosis, size_t error_diag_len)
int drmaa_get_vector_attribute_names (drmaa_attr_names_t **values, char *error_diagnosis, size_t error_diag_len)
int drmaa_init (const char *contact, char *error_diagnosis, size_t error_diag_len)
void drmaa_release_attr_names (drmaa_attr_names_t *values)
void drmaa_release_attr_values (drmaa_attr_values_t *values)
void drmaa_release_job_ids (drmaa_job_ids_t *values)
int drmaa_set_attribute (drmaa_job_template_t *jt, const char *name, const char *value, char *error_diagnosis, size_t error_diag_len)
int drmaa_set_vector_attribute (drmaa_job_template_t *jt, const char *name, const char *value[], char *error_diagnosis, size_t error_diag_len)

Generated by  Doxygen 1.6.0   Back to index