Changes between Version 19 and Version 20 of WorkGeneration


Ignore:
Timestamp:
Oct 10, 2007, 8:20:00 AM (17 years ago)
Author:
Nicolas
Comment:

Add explicit anchors

Legend:

Unmodified
Added
Removed
Modified
  • WorkGeneration

    v19 v20  
    1010Once this is done, BOINC takes over: it creates one or more instances of the job, distributes them to client hosts, collects the output files, finds a canonical instance, assimilates the canonical instance, and deletes files.
    1111
    12 == Input and output template files ==
     12== Input and output template files == #templates
    1313
    1414An input template file has the form
     
    8888You can safely remove a workunit template file after creating your last WU with it. However, you can't delete a result template file until any WU that refers to it is completed (i.e. no more replicas will be created).
    8989
    90 == Submitting a job manually ==
     90== Submitting a job manually == #creatework-tool
    9191
    9292To move an input file to the download directory, use
     
    135135  This can be used to supply, for example, <credit>12.4</credit>.
    136136
    137 == Submitting jobs from a C++ program ==
     137== Submitting jobs from a C++ program == #cpp-workgen
    138138
    139139BOINC's library provides the functions:
     
    163163Other job parameters may be passed either in the DB_WORKUNIT structure or in the input template file (the latter has priority).
    164164
    165 === Making one workunit ===
     165=== Making one workunit === #cpp-one
    166166
    167167Here's a program that submits one job (error-checking is omitted for clarity):
     
    217217The program must be run in the project directory.
    218218
    219 === Making lots of workunits ===
     219=== Making lots of workunits === #cpp-lots
    220220
    221221If you're making lots of workunits (e.g. to do the various parts of a parallel computation) you'll want the workunits to differ either in their input files, their command-line arguments, or both.
     
    266266Again, you only need one input template file and one output template file.
    267267
    268 == Example work generators ==
     268== Example work generators == #examples
    269269
    270270Two work generator programs are supplied with BOINC.
    271271
    272 === Sample work generator ===
     272=== Sample work generator === #examples-sample
    273273Many projects have an essentially infinite supply of work.
    274274This can be handled by a 'flow-controlled work generator'
     
    280280You can easily modify this program to suit your application.
    281281
    282 === make_work ===
     282=== make_work === #examples-makework
    283283During the testing phase of a project, you may want to replicate a given workunit as needed to maintain a constant supply of work. The daemon program
    284284{{{