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