Changes between Version 39 and Version 40 of JobSubmission


Ignore:
Timestamp:
Mar 17, 2015, 9:41:53 AM (9 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JobSubmission

    v39 v40  
    1111Create a job with the given input files (which must already be [JobStage staged]).
    1212
    13 Mandatory arguments are:
     13Mandatory arguments:
    1414 --appname name:: application name
    1515
    16 Optional arguments are:
     16Optional arguments:
    1717 --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/.
    1920   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/.
    2123   Default: templates/appname_out.
    22  --batch n::
     24 --batch n:: associate the job with the given batch.
    2325 --priority n:: high values are assigned before low values;
    2426  see --priority_order and --priority_order_create_time options on the [BackendPrograms#feeder feeder]
    2527 --stdin:: Read stdin, and create one job per line (see below).
     28 --continue_on_error:: keep going if an error occurs (used with --stdin)
    2629 --broadcast, --target_host, etc.:: [AssignedWork Assign or broadcast] this job.
    2730 
     
    104107}}}
    105108The ''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]
     109Other job parameters may be passed either in the DB_WORKUNIT structure
     110or in the [JobTemplates#Inputtemplates input template file]
    107111(the latter has priority).
    108112On a successful return, wu.id contains the database ID of the workunit.