This file is indexed.

/usr/share/globus/globus-gram-protocol-constants.sh is in libglobus-gram-protocol3 12.12-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
# This file defines the GRAM protocol constants which are used by the
# C libraries and the shell script interfaces. This is converted at
# configuration time to the globus_gram_protocol_constants.h file

## globus_gram_protocol_error_t GRAM Error codes
GLOBUS_GRAM_PROTOCOL_ERROR_PARAMETER_NOT_SUPPORTED=1
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_REQUEST=2
GLOBUS_GRAM_PROTOCOL_ERROR_NO_RESOURCES=3
GLOBUS_GRAM_PROTOCOL_ERROR_BAD_DIRECTORY=4
GLOBUS_GRAM_PROTOCOL_ERROR_EXECUTABLE_NOT_FOUND=5
GLOBUS_GRAM_PROTOCOL_ERROR_INSUFFICIENT_FUNDS=6
GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION=7
GLOBUS_GRAM_PROTOCOL_ERROR_USER_CANCELLED=8
GLOBUS_GRAM_PROTOCOL_ERROR_SYSTEM_CANCELLED=9
GLOBUS_GRAM_PROTOCOL_ERROR_PROTOCOL_FAILED=10
GLOBUS_GRAM_PROTOCOL_ERROR_STDIN_NOT_FOUND=11
GLOBUS_GRAM_PROTOCOL_ERROR_CONNECTION_FAILED=12
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_MAXTIME=13
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_COUNT=14
GLOBUS_GRAM_PROTOCOL_ERROR_NULL_SPECIFICATION_TREE=15
GLOBUS_GRAM_PROTOCOL_ERROR_JM_FAILED_ALLOW_ATTACH=16
GLOBUS_GRAM_PROTOCOL_ERROR_JOB_EXECUTION_FAILED=17
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_PARADYN=18
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_JOBTYPE=19
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_GRAM_MYJOB=20
GLOBUS_GRAM_PROTOCOL_ERROR_BAD_SCRIPT_ARG_FILE=21
GLOBUS_GRAM_PROTOCOL_ERROR_ARG_FILE_CREATION_FAILED=22
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_JOBSTATE=23
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_SCRIPT_REPLY=24
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_SCRIPT_STATUS=25
GLOBUS_GRAM_PROTOCOL_ERROR_JOBTYPE_NOT_SUPPORTED=26
GLOBUS_GRAM_PROTOCOL_ERROR_UNIMPLEMENTED=27
GLOBUS_GRAM_PROTOCOL_ERROR_TEMP_SCRIPT_FILE_FAILED=28
GLOBUS_GRAM_PROTOCOL_ERROR_USER_PROXY_NOT_FOUND=29
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_USER_PROXY=30
GLOBUS_GRAM_PROTOCOL_ERROR_JOB_CANCEL_FAILED=31
GLOBUS_GRAM_PROTOCOL_ERROR_MALLOC_FAILED=32
GLOBUS_GRAM_PROTOCOL_ERROR_DUCT_INIT_FAILED=33
GLOBUS_GRAM_PROTOCOL_ERROR_DUCT_LSP_FAILED=34
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_HOST_COUNT=35
GLOBUS_GRAM_PROTOCOL_ERROR_UNSUPPORTED_PARAMETER=36
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_QUEUE=37
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_PROJECT=38
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_EVALUATION_FAILED=39
GLOBUS_GRAM_PROTOCOL_ERROR_BAD_RSL_ENVIRONMENT=40
GLOBUS_GRAM_PROTOCOL_ERROR_DRYRUN=41
GLOBUS_GRAM_PROTOCOL_ERROR_ZERO_LENGTH_RSL=42
GLOBUS_GRAM_PROTOCOL_ERROR_STAGING_EXECUTABLE=43
GLOBUS_GRAM_PROTOCOL_ERROR_STAGING_STDIN=44
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_JOB_MANAGER_TYPE=45
GLOBUS_GRAM_PROTOCOL_ERROR_BAD_ARGUMENTS=46
GLOBUS_GRAM_PROTOCOL_ERROR_GATEKEEPER_MISCONFIGURED=47
GLOBUS_GRAM_PROTOCOL_ERROR_BAD_RSL=48
GLOBUS_GRAM_PROTOCOL_ERROR_VERSION_MISMATCH=49
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_ARGUMENTS=50
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_COUNT=51
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_DIRECTORY=52
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_DRYRUN=53
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_ENVIRONMENT=54
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_EXECUTABLE=55
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_HOST_COUNT=56
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_JOBTYPE=57
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_MAXTIME=58
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_MYJOB=59
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_PARADYN=60
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_PROJECT=61
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_QUEUE=62
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_STDERR=63
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_STDIN=64
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_STDOUT=65
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_JOBMANAGER_SCRIPT=66
GLOBUS_GRAM_PROTOCOL_ERROR_CREATING_PIPE=67
GLOBUS_GRAM_PROTOCOL_ERROR_FCNTL_FAILED=68
GLOBUS_GRAM_PROTOCOL_ERROR_STDOUT_FILENAME_FAILED=69
GLOBUS_GRAM_PROTOCOL_ERROR_STDERR_FILENAME_FAILED=70
GLOBUS_GRAM_PROTOCOL_ERROR_FORKING_EXECUTABLE=71
GLOBUS_GRAM_PROTOCOL_ERROR_EXECUTABLE_PERMISSIONS=72
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_STDOUT=73
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_STDERR=74
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_CACHE_USER_PROXY=75
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_CACHE=76
GLOBUS_GRAM_PROTOCOL_ERROR_INSERTING_CLIENT_CONTACT=77
GLOBUS_GRAM_PROTOCOL_ERROR_CLIENT_CONTACT_NOT_FOUND=78
GLOBUS_GRAM_PROTOCOL_ERROR_CONTACTING_JOB_MANAGER=79
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_JOB_CONTACT=80
GLOBUS_GRAM_PROTOCOL_ERROR_UNDEFINED_EXE=81
GLOBUS_GRAM_PROTOCOL_ERROR_CONDOR_ARCH=82
GLOBUS_GRAM_PROTOCOL_ERROR_CONDOR_OS=83
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_MIN_MEMORY=84
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_MAX_MEMORY=85
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_MIN_MEMORY=86
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_MAX_MEMORY=87
GLOBUS_GRAM_PROTOCOL_ERROR_HTTP_FRAME_FAILED=88
GLOBUS_GRAM_PROTOCOL_ERROR_HTTP_UNFRAME_FAILED=89
GLOBUS_GRAM_PROTOCOL_ERROR_HTTP_PACK_FAILED=90
GLOBUS_GRAM_PROTOCOL_ERROR_HTTP_UNPACK_FAILED=91
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_JOB_QUERY=92
GLOBUS_GRAM_PROTOCOL_ERROR_SERVICE_NOT_FOUND=93
GLOBUS_GRAM_PROTOCOL_ERROR_JOB_QUERY_DENIAL=94
GLOBUS_GRAM_PROTOCOL_ERROR_CALLBACK_NOT_FOUND=95
GLOBUS_GRAM_PROTOCOL_ERROR_BAD_GATEKEEPER_CONTACT=96
GLOBUS_GRAM_PROTOCOL_ERROR_POE_NOT_FOUND=97
GLOBUS_GRAM_PROTOCOL_ERROR_MPIRUN_NOT_FOUND=98
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_START_TIME=99
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_RESERVATION_HANDLE=100
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_MAX_WALL_TIME=101
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_MAX_WALL_TIME=102
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_MAX_CPU_TIME=103
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_MAX_CPU_TIME=104
GLOBUS_GRAM_PROTOCOL_ERROR_JM_SCRIPT_NOT_FOUND=105
GLOBUS_GRAM_PROTOCOL_ERROR_JM_SCRIPT_PERMISSIONS=106
GLOBUS_GRAM_PROTOCOL_ERROR_SIGNALING_JOB=107
GLOBUS_GRAM_PROTOCOL_ERROR_UNKNOWN_SIGNAL_TYPE=108
GLOBUS_GRAM_PROTOCOL_ERROR_GETTING_JOBID=109
GLOBUS_GRAM_PROTOCOL_ERROR_WAITING_FOR_COMMIT=110
GLOBUS_GRAM_PROTOCOL_ERROR_COMMIT_TIMED_OUT=111
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_SAVE_STATE=112
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_RESTART=113
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_TWO_PHASE_COMMIT=114
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_TWO_PHASE_COMMIT=115
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_STDOUT_POSITION=116
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_STDOUT_POSITION=117
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_STDERR_POSITION=118
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_STDERR_POSITION=119
GLOBUS_GRAM_PROTOCOL_ERROR_RESTART_FAILED=120
GLOBUS_GRAM_PROTOCOL_ERROR_NO_STATE_FILE=121
GLOBUS_GRAM_PROTOCOL_ERROR_READING_STATE_FILE=122
GLOBUS_GRAM_PROTOCOL_ERROR_WRITING_STATE_FILE=123
GLOBUS_GRAM_PROTOCOL_ERROR_OLD_JM_ALIVE=124
GLOBUS_GRAM_PROTOCOL_ERROR_TTL_EXPIRED=125
GLOBUS_GRAM_PROTOCOL_ERROR_SUBMIT_UNKNOWN=126
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_REMOTE_IO_URL=127
GLOBUS_GRAM_PROTOCOL_ERROR_WRITING_REMOTE_IO_URL=128
GLOBUS_GRAM_PROTOCOL_ERROR_STDIO_SIZE=129
GLOBUS_GRAM_PROTOCOL_ERROR_JM_STOPPED=130
GLOBUS_GRAM_PROTOCOL_ERROR_USER_PROXY_EXPIRED=131
GLOBUS_GRAM_PROTOCOL_ERROR_JOB_UNSUBMITTED=132
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_COMMIT=133
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_SCHEDULER_SPECIFIC=134
GLOBUS_GRAM_PROTOCOL_ERROR_STAGE_IN_FAILED=135
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_SCRATCH=136
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_CACHE=137
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_SUBMIT_ATTRIBUTE=138
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_STDIO_UPDATE_ATTRIBUTE=139
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_RESTART_ATTRIBUTE=140
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_FILE_STAGE_IN=141
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_FILE_STAGE_IN_SHARED=142
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_FILE_STAGE_OUT=143
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_GASS_CACHE=144
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_FILE_CLEANUP=145
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_SCRATCH=146
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_SCHEDULER_SPECIFIC=147
GLOBUS_GRAM_PROTOCOL_ERROR_UNDEFINED_ATTRIBUTE=148
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_CACHE=149
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_SAVE_STATE=150
GLOBUS_GRAM_PROTOCOL_ERROR_OPENING_VALIDATION_FILE=151
GLOBUS_GRAM_PROTOCOL_ERROR_READING_VALIDATION_FILE=152
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_PROXY_TIMEOUT=153
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_PROXY_TIMEOUT=154
GLOBUS_GRAM_PROTOCOL_ERROR_STAGE_OUT_FAILED=155
GLOBUS_GRAM_PROTOCOL_ERROR_JOB_CONTACT_NOT_FOUND=156
GLOBUS_GRAM_PROTOCOL_ERROR_DELEGATION_FAILED=157
GLOBUS_GRAM_PROTOCOL_ERROR_LOCKING_STATE_LOCK_FILE=158
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR=159
GLOBUS_GRAM_PROTOCOL_ERROR_NULL_PARAMETER=160
GLOBUS_GRAM_PROTOCOL_ERROR_STILL_STREAMING=161
GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION_DENIED=162
GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION_SYSTEM_FAILURE=163
GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION_DENIED_JOB_ID=164
GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION_DENIED_EXECUTABLE=165
GLOBUS_GRAM_PROTOCOL_ERROR_RSL_USER_NAME=166
GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_USER_NAME=167
GLOBUS_GRAM_PROTOCOL_ERROR_LAST=168


## globus_gram_protocol_job_state_t GRAM Job States
## The globus_gram_protocol_job_state_t contains information about
## the current state of the job as known by the job manager. Job state
## changes are sent by the Job Manager to all registered clients. A client
## may ask for information from the job manager via the status request.
### The job is waiting for resources to become available to run.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_PENDING=1
### The job has received resources and the application is executing.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_ACTIVE=2
### The job terminated before completion because an error, user-triggered
### cancel, or system-triggered cancel.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_FAILED=4
### The job completed successfully
GLOBUS_GRAM_PROTOCOL_JOB_STATE_DONE=8
### The job has been suspended. Resources which were allocated for
### this job may have been released due to some scheduler-specific
### reason.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_SUSPENDED=16
### The job has not been submitted to the scheduler yet, pending the
### reception of the GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST
### signal from a client.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_UNSUBMITTED=32
### The job manager is staging in files to run the job.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_STAGE_IN=64
### The job manager is staging out files generated by the job.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_STAGE_OUT=128
### A mask of all job states.
GLOBUS_GRAM_PROTOCOL_JOB_STATE_ALL=0xFFFFF

## globus_gram_protocol_job_signal_t GRAM Signals
### Cancel a job
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_CANCEL=1
### Suspend a job
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_SUSPEND=2
### Resume a previously suspended job
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_RESUME=3
### Change the priority of a job
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_PRIORITY=4
### Signal the job manager to commence with a job submission if the job
### request was accompanied by the (two_state=yes) RSL attribute.
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_REQUEST=5
### Signal the job manager to wait an additional number of seconds
### (specified by an integer value string as the signal's argument) before
### timing out a two-phase job commit.
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_EXTEND=6
### Signal the job manager to change the way it is currently handling
### standard output and/or standard error. The argument for this
### signal is an RSL containing new @a stdout, @a stderr, @a stdout_position, 
### @a stderr_position, or @a remote_io_url relations.
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_UPDATE=7
### Signal the job manager to verify  that streamed I/O has been completely
### received. The argument to this signal contains the number of bytes of stdout
### and stderr received, separated by a space. The reply to this signal
### will be a SUCCESS message if these matched the amount sent by the
### job manager. Otherwise, an error reply indicating
### GLOBUS_GRAM_PROTOCOL_ERROR_STDIO_SIZE is returned.
### If standard output and standard error are merged, only one number should be
### sent as an argument to this signal. An argument of -1 for either stream
### size indicates that the client is not interested in the size of that
### stream.
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STDIO_SIZE=8
### Signal the job manager to stop managing the current job and terminate.
### The job continues to run as normal. The job manager will send a
### state change callback with the job status being FAILED and the error
### GLOBUS_GRAM_PROTOCOL_ERROR_JM_STOPPED.
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_STOP_MANAGER=9
### Signal the job manager to clean up after the completion of the job if
### the job RSL contained the (two-phase = yes) relation.
GLOBUS_GRAM_PROTOCOL_JOB_SIGNAL_COMMIT_END=10