Changes between Version 17 and Version 18 of CondorBoinc


Ignore:
Timestamp:
Mar 20, 2013, 11:07:20 PM (12 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CondorBoinc

    v17 v18  
    8080The commands are:
    8181
     82=== Specify BOINC project and credentials ===
     83{{{
     84BOINC_PROJECT <req id> project_url authenticator
     85}}}
     86Result: NULL or error message
     87
     88Specify the URL of a BOINC project and the authenticator of
     89an account on that project to which requests will be sent.
     90
    8291=== Submit a new job batch ===
    8392{{{
     
    8998      ...
    9099    ...
    91   ALL|<#output files>
    92     <filename> ...
     100
    93101Result:
    94102  NULL (success) or <err msg>
     
    99107   But there is a single set of output filenames.
    100108 * The input <dst filename>s must agree with the app's template.
    101  * If 'ALL' is given instead of <#output files>,
    102    then no filenames will follow.
    103  * If output filenames are provided, then they must agree with
    104    the app's output template.
    105109 * As of now, <dst filename> will always be the filename part
    106110   of <src path>
     
    120124{{{
    121125BOINC_FETCH_OUTPUT <req id> <job name> <dir> <stderr filename>
    122     ALL|<#files>
    123     <src name> <dst name>
     126    <mode: ZIP | ALL | SOME>
     127    <#file-specs>
     128    <src name> <dst>
    124129    ...
    125130Result:
     
    127132}}}
    128133
    129  * <dir> is a directory on the local machine to be used to
    130    resolve relative pathnames.
    131  * <src name> is a filename written by the job
    132  * <dst name> is a filename on the local machine where the
    133    corresponding <src name> file's contents should be written
    134  * If 'ALL' is given instead of <#files>, then no filenames will follow.
    135 
     134Get the results of a completed job, including some or all of its output files.
    136135BOINC may replicate jobs to ensure that results are valid.
    137136One replica, the "canonical instance", is designated as the authoritative result.
    138 A job can fail for various reasons: e.g. all the instances crash,
    139 or there is no consensus among the instances,
    140 or no instances could be dispatched.
    141 
    142137If the status is DONE, then the output files of the canonical instance,
    143138and its stderr output, are fetched.
    144139<exit status> will be zero in this case.
    145 
    146 If the status is ERROR, the BOINC GAHP will look for an instance
     140 
     141 * <dir> is a directory on the local machine where output files are placed by default.
     142 * If mode is ZIP, then the job must have a single zipped output file.
     143   This file is unzipped into the output directory.
     144   File specs are then applied to rename or move output files.
     145 * If mode is ALL, all the job's output files are fetched.
     146   File specs are then applied to rename or move output files.
     147 * If mode is SOME, only those output files described by file specs are fetched.
     148 * Each file spec consists of <src name> and <dst> is a filename written by the job.
     149   <dst> specifies where that file should be placed on the local machine.
     150   It may be either:
     151  * An absolute path
     152  * A relative path, in which case <dir> is prepended.
     153    Any directories within <dst> must already exist.
     154
     155If the status is ERROR, the BOINC GAHP looks for an instance
    147156for which some information is available (e.g., exit status and stderr output),
    148 and will return this information.
    149 If there is no such instance, it will return an error message.
     157and returns this information.
     158If there is no such instance, it returns an error message.
     159(A job can fail for various reasons: e.g. all the instances crash,
     160or there is no consensus among the instances,
     161or no instances could be dispatched.)
    150162
    151163=== Abort jobs ===