Changes between Version 7 and Version 8 of WorkGeneration


Ignore:
Timestamp:
Apr 18, 2007, 4:57:59 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkGeneration

    v7 v8  
    99
    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.
    11 
    12 During the testing phase of a project, you can use the [http://boinc.berkeley.edu/busy_work.php make_work daemon] to replicate a given workunit as needed to maintain a constant supply of work. This is useful while testing and debugging the application.
    1311
    1412== Input and output template files ==
     
    218216            wu,
    219217            wu_template,
    220             "templates/results_template.xml",
    221             "templates/results_template.xml",
     218            "templates/output_template.xml",
     219            "templates/output_template.xml",
    222220            infiles,
    223221            1,
     
    237235            wu,
    238236            wu_template,
    239             "templates/results_template.xml",
    240             "templates/results_template.xml",
     237            "templates/output_template.xml",
     238            "templates/output_template.xml",
    241239            infiles,
    242240            1,
     
    246244    }
    247245}}}
    248 Again, you only need one input template file and one output template file.
     246Again, you only need one input template file and one output template file.
     247
     248== Sample work generators ==
     249
     250Two example work generators are supplied with BOINC.
     251
     252=== make_work ===
     253During the testing phase of a project, you can use the [http://boinc.berkeley.edu/busy_work.php make_work daemon] to replicate a given workunit as needed to maintain a constant supply of work.
     254
     255=== Sample work generator ===
     256Many projects have an essentially infinite supply of work.
     257This can be handled by a 'flow-controlled work generator'
     258that tries to maintain a constant number of unsent jobs
     259(typically a few hundred or thousand).
     260It does this by periodically querying the BOINC database
     261to find the number of unsent jobs.
     262An example of this is sched/sample_work_generator.C.
     263You can easily modify this program to suit your appliation.