This information is for a release that is no longer supported by the Globus Toolkit. The currently supported versions of the Globus Toolkit are 4.2 (recommended) and 4.0.
WS GRAM: Developer's Guide
Overview
GRAM slides [ html ]
[ pdf ]
API
Architecture
Fault Tolerance Architecture
>RSL Schema
MJS Fault Types
Samples
Scheduler tutorial
Troubleshooting
Managed Job Service - Resource Specification Language (RSL)
Contents:
Schema Document Properties
|
Target Namespace
|
http://www.globus.org/namespaces/2004/02/rsl/gram
|
| Element and Attribute Namespaces |
- Global element and attribute declarations belong to this schema's target namespace.
- By default, local element declarations belong to this schema's target namespace.
- By default, local attribute declarations have no namespace.
|
| Schema Composition |
- This schema imports schema(s) from the following namespace(s):
- http://www.globus.org/namespaces/2004/02/rsl (at rsl.xsd)
- http://www.globus.org/namespaces/2004/02/rsl/enum (at rsl_enum.xsd)
|
Declared Namespaces
| Prefix |
Namespace |
|
Default namespace
|
http://www.globus.org/namespaces/2004/02/rsl/gram
|
|
xsd
|
http://www.w3.org/2001/XMLSchema |
|
rsl
|
http://www.globus.org/namespaces/2004/02/rsl |
|
enum
|
http://www.globus.org/namespaces/2004/02/rsl/enum |
|
gram
|
http://www.globus.org/namespaces/2004/02/rsl/gram
|
|
xml
|
http://www.w3.org/XML/1998/namespace |
| Schema Component Representation |
< xsd:schema targetNamespace=" http://www.globus.org/namespaces/2004/02/rsl/gram" elementFormDefault=" qualified"> <xsd:import namespace="http://www.globus.org/namespaces/2004/02/rsl" schemaLocation="rsl.xsd"/> <xsd:import namespace="http://www.globus.org/namespaces/2004/02/rsl/enum" schemaLocation="rsl_enum.xsd"/> ... </ xsd:schema>
|
Global Declarations
| Name |
arguments |
| Type |
rsl:stringArrayType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The command line arguments for the executable. Use
quotes, if a space is required in a single argument.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
directory |
| Type |
rsl:pathType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Specifies the path of the directory the jobmanager will
use as the default directory for the requested job.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
dryRun |
| Type |
rsl:booleanType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
* unimplemented *
If dryrun = yes then the jobmanager will not submit the
job for execution and will return success.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
environment |
| Type |
rsl:hashtableType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The environment variables that will be defined for the
executable in addition to default set that is given to
the job by the jobmanager.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
executable |
| Type |
rsl:pathType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The name of the executable file to run on the remote
machine. If the value is a GASS URL, the file is
transferred to the remote gass cache before executing
the job and removed after the job has terminated.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
fileStageIn |
| Type |
rsl:fileInputArrayType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Specifies a list of ("remote URL" "local file") pairs
which indicate files to be staged to the nodes which
will run the job.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
fileStageInShared |
| Type |
rsl:fileInputArrayType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Specifies a list of ("remote URL" "local file") pairs
which indicate files to be staged into the cache. A
symlink from the cache to the "local file" path will
be made.
|
| XML Instance Representation |
< gram:fileStageInShared>
</ gram:fileStageInShared>
|
| Schema Component Representation |
|
|
| Name |
fileStageOut |
| Type |
rsl:fileOutputArrayType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Specifies a list of ("local file" "remote URL") pairs
which indicate files to be staged from the job to a
GASS-compatible file server.
|
| XML Instance Representation |
< gram:fileStageOut>
</ gram:fileStageOut>
|
| Schema Component Representation |
|
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
gramMyJobType |
| Type |
enum:gramMyJobEnumerationType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
* unimplemented * This specifies how the gram myjob interface
will behave in the started processes.
Possible values are
independent (Even if the count > 1, only start 1
process or thread), or collective (gram_myjob_count() will return count for each of the processes.
gram_myjob_rank() will return a unique value between 0
and count-1 for each of the processes.) |
| XML Instance Representation |
< gram:gramMyJobType>
</ gram:gramMyJobType>
|
| Schema Component Representation |
|
|
| Name |
hostCount |
| Type |
rsl:integerType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Only applies to clusters of SMP computers, such as
newer IBM SP systems. Defines the number of nodes
pizza boxes") to distribute the "count" processes
across.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
Element: job
-
This element can be used wherever the following element is referenced:
|
| XML Instance Representation |
< gram:job
id="xsd:string [0..1]" ref="xsd:string [0..1]"> Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*] </ gram:job>
|
| Schema Component Representation |
|
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
libraryPath |
| Type |
rsl:pathArrayType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Specifies a list of paths to be appended to the
system-specific library path environment variables.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
maxCpuTime |
| Type |
rsl:longType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Explicitly set the maximum cputime for a single
execution of the executable. The units is in minutes.
The value will go through an atoi() conversion in order
to get an integer. If the GRAM scheduler cannot set
cputime, then an error will be returned.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
maxMemory |
| Type |
rsl:integerType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Explicitly set the maximum amount of memory for a
single execution of the executable. The units is in
Megabytes. The value will go through an atoi()
conversion in order to get an integer. If the GRAM
scheduler cannot set maxMemory, then an error will be
returned.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
maxTime |
| Type |
rsl:longType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
The maximum walltime or cputime for a single execution
of the executable. Walltime or cputime is selected by
the GRAM scheduler being interfaced. The units is in
minutes. The value will go through an atoi() conversion
in order to get an integer.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
maxWallTime |
| Type |
rsl:longType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Explicitly set the maximum walltime for a single
execution of the executable. The units is in minutes.
The value will go through an atoi() conversion in order
to get an integer. If the GRAM scheduler cannot set
walltime, then an error will be returned.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
minMemory |
| Type |
rsl:integerType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Explicitly set the minimum amount of memory for a
single execution of the executable. The units is in
Megabytes. The value will go through an atoi()
conversion in order to get an integer. If the GRAM
scheduler cannot set minMemory, then an error will be
returned.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
project |
| Type |
rsl:stringType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Target the job to be allocated to a project account as
defined by the scheduler at the defined (remote)
resource.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|
| Name |
queue |
| Type |
rsl:stringType
|
|
Nillable
|
no |
|
Abstract
|
no |
| Documentation |
Target the job to a queue (class) name as defined by
the scheduler at the defined (remote) resource.
|
| XML Instance Representation |
|
|
| Schema Component Representation |
|
|