SECTION 1.5 Preprocessor Directives for DRMAA Error Codes


Defines

#define DRMAA_ERRNO_SUCCESS   0
#define DRMAA_ERRNO_INTERNAL_ERROR   1
#define DRMAA_ERRNO_DRM_COMMUNICATION_FAILURE   2
#define DRMAA_ERRNO_AUTH_FAILURE   3
#define DRMAA_ERRNO_INVALID_ARGUMENT   4
#define DRMAA_ERRNO_NO_ACTIVE_SESSION   5
#define DRMAA_ERRNO_NO_MEMORY   6
#define DRMAA_ERRNO_INVALID_CONTACT_STRING   7
#define DRMAA_ERRNO_DEFAULT_CONTACT_STRING_ERROR   8
#define DRMAA_ERRNO_DRMS_INIT_FAILED   9
#define DRMAA_ERRNO_ALREADY_ACTIVE_SESSION   10
#define DRMAA_ERRNO_DRMS_EXIT_ERROR   11
#define DRMAA_ERRNO_INVALID_ATTRIBUTE_FORMAT   12
#define DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE   13
#define DRMAA_ERRNO_CONFLICTING_ATTRIBUTE_VALUES   14
#define DRMAA_ERRNO_TRY_LATER   15
#define DRMAA_ERRNO_DENIED_BY_DRM   16
#define DRMAA_ERRNO_INVALID_JOB   17
#define DRMAA_ERRNO_RESUME_INCONSISTENT_STATE   18
#define DRMAA_ERRNO_SUSPEND_INCONSISTENT_STATE   19
#define DRMAA_ERRNO_HOLD_INCONSISTENT_STATE   20
#define DRMAA_ERRNO_RELEASE_INCONSISTENT_STATE   21
#define DRMAA_ERRNO_EXIT_TIMEOUT   22
#define DRMAA_ERRNO_NO_RUSAGE   23
#define DRMAA_ERRNO_NO_MORE_ELEMENTS   24

Define Documentation

#define DRMAA_ERRNO_ALREADY_ACTIVE_SESSION   10

A DRMAA session was already initialized

#define DRMAA_ERRNO_AUTH_FAILURE   3

Permision denied

#define DRMAA_ERRNO_CONFLICTING_ATTRIBUTE_VALUES   14

Conflicting attribute values

#define DRMAA_ERRNO_DEFAULT_CONTACT_STRING_ERROR   8

Default contact string error

#define DRMAA_ERRNO_DENIED_BY_DRM   16

Permission denied

#define DRMAA_ERRNO_DRM_COMMUNICATION_FAILURE   2

Could not contact with GWD

#define DRMAA_ERRNO_DRMS_EXIT_ERROR   11

Could not close connection with GWD

#define DRMAA_ERRNO_DRMS_INIT_FAILED   9

Unable to initialize GWD

#define DRMAA_ERRNO_EXIT_TIMEOUT   22

Time out exceeded

#define DRMAA_ERRNO_HOLD_INCONSISTENT_STATE   20

Could not hold job: wrong job state

#define DRMAA_ERRNO_INTERNAL_ERROR   1

Unexpected Error

#define DRMAA_ERRNO_INVALID_ARGUMENT   4

Invalid Argument

#define DRMAA_ERRNO_INVALID_ATTRIBUTE_FORMAT   12

Invalid attribute format

#define DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE   13

Invalid attribut value

#define DRMAA_ERRNO_INVALID_CONTACT_STRING   7

Invalid contact string

#define DRMAA_ERRNO_INVALID_JOB   17

Invalid Job ID/ it does not exsist

#define DRMAA_ERRNO_NO_ACTIVE_SESSION   5

No active session

#define DRMAA_ERRNO_NO_MEMORY   6

Not enough memory

#define DRMAA_ERRNO_NO_MORE_ELEMENTS   24

No more elements (NOT IN 1.0 STANDARD!!)

#define DRMAA_ERRNO_NO_RUSAGE   23

RUSAGE not available

#define DRMAA_ERRNO_RELEASE_INCONSISTENT_STATE   21

Could not release job: wrong job state

#define DRMAA_ERRNO_RESUME_INCONSISTENT_STATE   18

Could not resume job: wrong job state

#define DRMAA_ERRNO_SUCCESS   0

Success

#define DRMAA_ERRNO_SUSPEND_INCONSISTENT_STATE   19

Could not suspend job: wrong job state

#define DRMAA_ERRNO_TRY_LATER   15

Try later (max. number of jobs reached)...