Changes between Version 9 and Version 10 of JobTemplates


Ignore:
Timestamp:
Jan 12, 2017, 12:35:35 AM (8 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JobTemplates

    v9 v10  
    66Typically the same templates are used for many jobs.
    77
     8A given app usually has one input and output template.
     9However, apps that can have varying numbers of files would need multiple templates,
     10one per file "signature".
     11
    812== Input templates ==
    913
    1014An input template file describes the job's input files, resource requirements, and scheduling parameters.
    11 It has the form
     15
     16Input files are of two types:
     17
     18 * '''Variable files''' can vary between jobs.
     19   The job submission interfaces such as [JobSubmission#creatework-tool create_work()]
     20   supply the physical names of the input files for that job.
     21
     22 * '''Constant files''' are the same across multiple jobs.
     23   The physical name of the file is given in the input template;
     24   it is not passed to the job-submission interfaces.
     25   This might be used, for the files that make up a Docker image.
     26   
    1227{{{
    13 
    1428<input_template>
    1529    <file_info>
    1630        <number>0</number>
     31          [ <name>...</name> ]
    1732        [ <gzip/> ]
    1833        [ <sticky/> ]
     
    5267
    5368 '''<number>''':: use 0, 1, ...
     69 '''<name>''':: specified only for constant files.
     70   The physical name of the file.
     71   The file must be staged before jobs are created with the template.
    5472 '''<gzip/>''':: transfer the file in gzipped (compressed) format to reduce network usage.
    5573   You must [JobStage stage the file with the --gzip option].
     
    96114This is enough for about 200 input files,
    97115fewer if you use long file names or multiple download URLs.
    98 If this isn't enough, you can use [FileCompression BOINC file compression] to zip several files into a single file reference for download,
     116If this isn't enough, you can use [FileCompression BOINC file compression]
     117to zip several files into a single file reference for download,
    99118and expanding them prior to running on the client machine.
    100119
     
    142161   and moved to the project directory after the job has finished.
    143162   Use this for [WrapperApp legacy applications].
    144    '''Important''': If the slot directory and the project directory are on the same filesystem, the file is moved instead of copied!
     163   '''Important''': If the slot directory and the project directory are on the same filesystem,
     164   the file is moved instead of copied!
    145165 '''<generated_locally/>''':: always include this for output files.
    146166 '''<max_nbytes>''':: maximum file size.