[Debian Wiki] Update of "BOINC/ServerGuide/WrapperApp" by dhananjay

Debian Wiki debian-www at lists.debian.org
Sun Jul 24 14:53:53 UTC 2011


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "BOINC/ServerGuide/WrapperApp" page has been changed by dhananjay:
http://wiki.debian.org/BOINC/ServerGuide/WrapperApp?action=diff&rev1=9&rev2=10

Comment:
Added multi-tasks, status of computation.

  
  
  === Configuring the wrapper ===
- The wrapper binary upon invocation checks for a job description file named ''job.xml'', which is used to inform the wrapper about the actual binary to execute and its command line arguments to pass. This file has to be present in project root.
+ The wrapper binary upon invocation checks for a job description file named ''job.xml'', which is used to inform the wrapper about the actual binary to execute and its command line arguments to pass. This file has to be present in the same directory where wrapper binary is. ie, for single file projects in the ''$proojectroot/apps/appname/'' or for multi-arch ones at ''$projectroot/apps/appname/appname_ver_platform/''
  
  Sample job.xml
  {{{
@@ -170, +170 @@

  
  This effort has now added a single job to the system. For adding multiple jobs with different input files, do as follows.
  
+ === Some complex Extensions ===
+ 
+ ==== Multiple Tasks ====
+ Wrapper allows us to compute multiple tasks (binaries). The binaries have to be specified using the '''<task>''' tag.
+ {{{
+ <job_desc>
+     <task>
+         <application>binary_1</application>
+         ... other tags
+ 	<weight>X</weight>
+     </task>
+     <task>
+         <application>binary_2</application>
+         ... other tags
+ 	<weight>Y</weight>
+     </task>
+ </job_desc>
+ }}}
+ 	The '''<weight>''' tag is used to specify the contribution of each app towards the total computation. If ''binary_1'' uses 10% and ''binary_2'' rest, then X and Y are 10 and 90 respectively.
+ 
+ ==== Status of Computation ====
+ The '''<fraction_done_filename>''' tag can be used to specify a file to check completion. Wrapper checks for a number between 0 and 1, inside the file, and sets the percentage of completion.
  TBA
  
  == Handling of result files ==



More information about the pkg-boinc-commits mailing list