Commit 6f90a6a7 authored by cdelbe's avatar cdelbe
Browse files

Update job schema references to 2.0 release.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/proactive/scheduling/branches/Scheduling_2.0.x@15013 28e8926c-6b08-0410-baaa-805c5e19b8d6
parent a567d237
......@@ -138,7 +138,7 @@
</classpath>
</taskdef>
<property name="schemas.dir" value="${src.scheduler.dir}/${scheduler.path}/common/xml/schemas/jobdescriptor/dev" />
<property name="schemas.dir" value="${src.scheduler.dir}/${scheduler.path}/common/xml/schemas/jobdescriptor/2.0" />
<property name="export.schema.name" value="schedulerjob" />
<!-- Convert Relax NG schema from compact syntax to xml syntax -->
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
xmlns="urn:proactive:jobdescriptor:dev" id="Matlab_job" priority="normal" logFile="matlab_job.log" >
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
xmlns="urn:proactive:jobdescriptor:2.0" id="Matlab_job" priority="normal" logFile="matlab_job.log" >
<description>A simple Matlab taskflow, which computes the sum of a randomly-generated array</description>
<!-- @snippet-start SCHEDULER_MATLAB_JOB_MATLAB_VARIABLE -->
<variables>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- @snippet-start SCHEDULER_MATLAB_SIMPLE_JOB_DEFINITION -->
<job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
xmlns="urn:proactive:jobdescriptor:dev" id="Matlab_job_simplest">
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
xmlns="urn:proactive:jobdescriptor:2.0" id="Matlab_job_simplest">
<description>A simple Matlab job, which computes the roots of several polynomials</description>
<taskFlow>
<!-- @snippet-end SCHEDULER_MATLAB_SIMPLE_JOB_DEFINITION -->
......
......@@ -212,8 +212,8 @@
job (a job containing several tasks).
</para>
<programlisting language="xml"><![CDATA[<job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
xmlns="urn:proactive:jobdescriptor:dev" id="Matlab_job_simplest">
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
xmlns="urn:proactive:jobdescriptor:2.0" id="Matlab_job_simplest">
<description>A simple Matlab job, which computes the roots of several polynomials</description>
<taskFlow>]]></programlisting>
</section>
......
......@@ -8,7 +8,7 @@
<para>
The Job XML descriptor is created
following the
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd">
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd">
descriptor XSD schema</link>
</para>
<para>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
<description>Job description</description>
<jobClasspath>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
<description>Job description</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
<description>Job description</description>
<jobClasspath>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
<description>Job description</description>
<jobClasspath>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
<description>Job description</description>
<jobClasspath>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
...
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_name" priority="normal" projectName="project_name" cancelJobOnError="true" logFile="path/to/a/log/file.log">
...
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_nativ" priority="normal" cancelJobOnError="true"
logFile="${EXEC_PATH}/nativTask.log">
<description>Will execute 1 native C task with command generation</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev"
<job xmlns="urn:proactive:jobdescriptor:2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev
http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0
http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="Job_hello" priority="normal" logFile="[working_dir]/hello_world.log">
<description>A job example with one task saying 'hello world"</description>
<taskFlow>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="Job_hello" priority="normal" logFile="[working_dir]/hello_world.log">
<description>A job example with one task saying 'hello world"</description>
<taskFlow>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="Job_hello" priority="normal" logFile="[working_dir]/hello_world.log" cancelJobOnError="false">
<description>A job example with two tasks saying 'hello world"</description>
<taskFlow>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_file_output" priority="normal" cancelJobOnError="false"
logFile="${WORK_DIR}/job_file_output.log" >
<description>Will execute a 4 native C tasks, avoiding file output collision</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_nativ" priority="normal" cancelJobOnError="true"
logFile="${EXEC_PATH}/nativTask.log">
<description>Will execute 1 native C tasks</description>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_nativ" priority="normal" logFile="${EXEC_PATH}/nativTask.log">
<description>Will execute 2 native C tasks</description>
<variables>
......
<?xml version="1.0" encoding="UTF-8"?>
<job xmlns="urn:proactive:jobdescriptor:dev" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:dev http://proactive.inria.fr/schemas/jobdescriptor/dev/schedulerjob.xsd"
<job xmlns="urn:proactive:jobdescriptor:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:proactive:jobdescriptor:2.0 http://proactive.inria.fr/schemas/jobdescriptor/2.0/schedulerjob.xsd"
name="job_nativ" priority="normal" cancelJobOnError="true"
logFile="${EXEC_PATH}/nativTask.log">
<description>Will execute 1 native C tasks</description>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment