4
<!-- Manpage converted by man2html 3.0.1 -->
6
drmaa_strerror, drmaa_get_contact, drmaa_version,
7
drmaa_get_DRM_system - Miscellaneous DRMAA functions.
12
const char *drmaa_strerror(
16
int drmaa_get_contact(
19
char *error_diagnosis,
26
char *error_diagnosis,
30
int drmaa_get_DRM_system(
32
size_t drm_system_len,
33
char *error_diagnosis,
37
int drmaa_get_DRMAA_implementation(
40
char *error_diagnosis,
45
The drmaa_strerror() function returns a message text associ-
46
ated with the DRMAA error number, <I>drmaa</I>_<I>errno</I>. For invalid
47
DRMAA error codes `NULL' is returned.
50
The drmaa_get_contact() returns an opaque string containing
51
contact information related to the current DRMAA session to
52
be used with the <B><A HREF="../htmlman3/drmaa_init.html">drmaa_init(3)</A></B> function. In the 1.0 imple-
53
mentation, the opaque string contains the information
54
required by drmaa_init() to reconnect to the current session
55
instead of creating a new session. In the 0.95 implemena-
56
tion, however, the drmaa_get_contact() function returns an
57
empty string, and the <I>contact</I> parameter has no effect on the
58
<B><A HREF="../htmlman3/drmaa_init.html">drmaa_init(3)</A></B> function.
60
The drmaa_get_contact() function returns the same value
61
before and after <B><A HREF="../htmlman3/drmaa_init.html">drmaa_init(3)</A></B> is called.
64
The drmaa_version() function returns into the integers
65
pointed to by <I>major</I> and <I>minor</I>, the major and minor version
66
numbers of the DRMAA library. For a DRMAA 1.0 compliant
67
implementation `1' and `0' will be returned in <I>major</I> and
68
<I>minor</I>, respectively.
70
drmaa_get_DRM_system()
71
The drmaa_get_DRM_system() function returns into <I>drm</I>_<I>system</I>
72
up to <I>drm</I>_<I>system</I>_<I>len</I> characters of a string containing Grid
73
Engine product and version information.
75
The drmaa_get_DRM_system() function returns the same value
76
before and after <B><A HREF="../htmlman3/drmaa_init.html">drmaa_init(3)</A></B> is called.
78
drmaa_get_DRMAA_implementation()
79
The drmaa_get_DRMAA_implementation() function returns into
80
<I>drm</I>_<I>system</I> up to <I>drm</I>_<I>system</I>_<I>len</I> characters of a string con-
81
taining the Grid Engine DRMAA implementation version infor-
82
mation. In the current implementation, the
83
drmaa_get_DRMAA_implementation() function returns the same
84
result as the drmaa_get_DRM_system() function.
86
The drmaa_get_DRMAA_implementation() function returns the
87
same value before and after <B><A HREF="../htmlman3/drmaa_init.html">drmaa_init(3)</A></B> is called.
89
ENVIRONMENTAL VARIABLES
90
SGE_ROOT Specifies the location of the Grid Engine
91
standard configuration files.
93
SGE_CELL If set, specifies the default Grid Engine
94
cell to be used. To address a Grid Engine
95
cell Grid Engine uses (in the order of pre-
98
The name of the cell specified in the
99
environment variable SGE_CELL, if it is
102
The name of the default cell, i.e.
107
If set, specifies that debug information
108
should be written to stderr. In addition the
109
level of detail in which debug information is
110
generated is defined.
113
If set, specifies the tcp port on which
114
<B><A HREF="../htmlman8/sge_qmaster.html">sge_qmaster(8)</A></B> is expected to listen for com-
115
munication requests. Most installations will
116
use a services map entry instead to define
120
Upon successful completion, drmaa_get_contact(),
121
drmaa_version(), and drmaa_get_DRM_system() return
122
DRMAA_ERRNO_SUCCESS. Other values indicate an error. Up to
123
<I>error</I>_<I>diag</I>_<I>len</I> characters of error related diagnosis infor-
124
mation is then provided in the buffer <I>error</I>_<I>diagnosis</I>.
127
The drmaa_get_contact(), drmaa_version(),
128
drmaa_get_DRM_system(), and drmaa_get_DRMAA_implementation()
131
DRMAA_ERRNO_INTERNAL_ERROR
132
Unexpected or internal DRMAA error, like system call
135
DRMAA_ERRNO_DRM_COMMUNICATION_FAILURE
136
Could not contact DRM system for this request.
138
DRMAA_ERRNO_AUTH_FAILURE
139
The specified request is not processed successfully due to
140
authorization failure.
142
DRMAA_ERRNO_INVALID_ARGUMENT
143
The input value for an argument is invalid.
145
DRMAA_ERRNO_NO_MEMORY
146
Failed allocating memory.
148
The drmaa_get_contact() and drmaa_get_DRM_system() will fail
151
DRMAA_ERRNO_NO_ACTIVE_SESSION
152
Failed because there is no active session.
155
<B><A HREF="../htmlman3/drmaa_session.html">drmaa_session(3)</A></B>.
164
Man(1) output converted with
165
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>