Project

General

Profile

Ciop-simjob » History » Revision 4

Revision 3 (Herve Caumont, 2013-06-18 16:24) → Revision 4/6 (Herve Caumont, 2013-06-19 18:05)

h1. CIOP-SIMJOB(7) 

 {{toc}} 

 Ciop-simjob 

 Command Line (CLI) reference 

 {{>toc}} 

 h2. NAME 

 

 ciop-simjob - runs individually a node of the sample workflow of the application 

 

 h2. SYNOPSIS 

 

 <pre> 
 
 /usr/bin/ciop-simjob {node} [option...] 
 
 </pre> 

 

 h2. DESCRIPTION 

 

 @ciop-simjob@ runs individually a node of the sample workflow of the application. This is useful to test unitarily a job. 

 

 h2. OPTIONS 

 

 *node* 

 

 p. This must be the id of the node registered in the workflow "sample" in the file ${_CIOP_APPLICATION_PATH}/application.xml 

 

 *-i input* 

 

 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}.  
  
 By default the value is setup to find the best input for your job (more info in the documentation) 
 
 
 
 *-o output* 
 
 
 
 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} 
 
 By default the value is setup to find the best output dir for next job (more info in the documentation) 

 

 *-f* 

 

 p. delete existing output directory if it exists (default: no) 

 

 *-n* 

 

 p. list the node ids of the workflow 
 
 
 
 *-p name value* 

 

 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) 
 
 
 
 h2. EXIT STATUS 

 

 @ciop-simjob@ command exits 0 on success, and >0 if an error occurs. 

 

 h2. EXAMPLES 

 

 h3.    Example 1. Get the workflow node IDs 

 

 <pre>ciop-simjob -n</pre> 

 

 h3. Example 2. First run of a given workflow node 

 

 <pre>ciop-simjob node_name</pre> 

 

 h3. Example 3. Following runs of a given workflow node (deletes the results of a previous run) 

 

 <pre>ciop-simjob -f node_name</pre> 

 

 h2. SEE ALSO 

 

 p. [[ciop-simwf]] 

 

 h2. AUTHOR 

 

 p. Terradue Srl