Project

General

Profile

Ciop-simjob » History » Version 1

Herve Caumont, 2013-06-18 16:24

1 1 Herve Caumont
h1. Ciop-simjob
2
3
{{toc}}
4
5
h2. NAME
6
7
ciop-simjob - runs individually a node of the sample workflow of the application
8
9
h2. SYNOPSIS
10
11
<pre>
12
/usr/bin/ciop-simjob {node} [option...]
13
</pre>
14
15
h2. DESCRIPTION
16
17
@ciop-simjob@ runs individually a node of the sample workflow of the application. This is useful to test unitarily a job.
18
19
h2. OPTIONS
20
21
*node*
22
23
p. This must be the id of the node registered in the workflow "sample" in the file ${_CIOP_APPLICATION_PATH}/application.xml
24
25
*-i input*
26
27
p. directory name or file name containing the input to map to the executable via stdin. This path must be relative to share path ${_CIOP_SHARE_PATH}. 
28
By default the value is setup to find the best input for your job (more info in the documentation)
29
 
30
*-o output*
31
 
32
p. directory name where to put the output file with the stdout of the execution This directory must not exist (or use -f) and must be relative to share path ${_CIOP_SHARE_PATH}
33
By default the value is setup to find the best output dir for next job (more info in the documentation)
34
35
*-f*
36
37
p. delete existing output directory if it exists (default: no)
38
39
*-n*
40
41
p. list the node ids of the workflow
42
 
43
*-p name value*
44
45
p. define a processing parameter for the simulation. If a default value is defined in the application.xml, it will be overwritten (not yet implemented)
46
 
47
h2. EXIT STATUS
48
49
@ciop-simjob@ command exits 0 on success, and >0 if an error occurs.
50
51
h2. EXAMPLES
52
53
h3.  Example 1. Get the workflow node IDs
54
55
<pre>ciop-simjob -n</pre>
56
57
h3. Example 2. First run of a given workflow node
58
59
<pre>ciop-simjob node_name</pre>
60
61
h3. Example 3. Following runs of a given workflow node (deletes the results of a previous run)
62
63
<pre>ciop-simjob -f node_name</pre>
64
65
h2. SEE ALSO
66
67
p. [[ciop-simwf]]
68
69
h2. AUTHOR
70
71
p. Terradue Srl