+

Search Tips   |   Advanced Search

xJCL sample for a compute intensive job

The xJCL sample is a generic compute intensive sample.

<?xml version="1.0" encoding="UTF-8" ?>
<job name="OpenGrid" class="xyz" accounting="accounting info" default-application-name="tryit"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<job-scheduling-criteria>
<required-capability expression="someExpression" />
<required-capability expression="anotherExpression" />
</job-scheduling-criteria>

<substitution-props>
<prop name="PATH" value="C:\\windows;C:\\java\\jre\\bin" />
</substitution-props>

<job-step name="Step1" application-name="tryit">

<env-entries>
<env-var name="PATH" value="${PATH}" />
<env-var name="CLASSPATH" value="C:\\windows" />
</env-entries>

<exec executable="java">
<arg line="command line args here" />
<arg line=" and more command line args here" />
</exec>

</job-step>

</job>


Related:

  • xJCL elements
  • XML schema for a compute intensive job