Changes between Version 39 and Version 40 of JobSubmission
- Timestamp:
- Mar 17, 2015, 9:41:53 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JobSubmission
v39 v40 11 11 Create a job with the given input files (which must already be [JobStage staged]). 12 12 13 Mandatory arguments are:13 Mandatory arguments: 14 14 --appname name:: application name 15 15 16 Optional arguments are:16 Optional arguments: 17 17 --wu_name name:: workunit name (default: appname_PID_TIME) 18 --wu_template filename:: [JobTemplates#Inputtemplates Input template] filename relative to project root; usually in templates/. 18 --wu_template filename:: [JobTemplates#Inputtemplates Input template] filename relative to project root; 19 usually in templates/. 19 20 Default: templates/appname_in. 20 --result_template filename:: [JobTemplates#Outputtemplates Output template] filename, relative to project root; usually in templates/. 21 --result_template filename:: [JobTemplates#Outputtemplates Output template] filename, 22 relative to project root; usually in templates/. 21 23 Default: templates/appname_out. 22 --batch n:: 24 --batch n:: associate the job with the given batch. 23 25 --priority n:: high values are assigned before low values; 24 26 see --priority_order and --priority_order_create_time options on the [BackendPrograms#feeder feeder] 25 27 --stdin:: Read stdin, and create one job per line (see below). 28 --continue_on_error:: keep going if an error occurs (used with --stdin) 26 29 --broadcast, --target_host, etc.:: [AssignedWork Assign or broadcast] this job. 27 30 … … 104 107 }}} 105 108 The ''name'' and ''appid'' fields of the DB_WORKUNIT structure must always be initialized. 106 Other job parameters may be passed either in the DB_WORKUNIT structure or in the [JobTemplates#Inputtemplates input template file] 109 Other job parameters may be passed either in the DB_WORKUNIT structure 110 or in the [JobTemplates#Inputtemplates input template file] 107 111 (the latter has priority). 108 112 On a successful return, wu.id contains the database ID of the workunit.