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

Debian Wiki debian-www at lists.debian.org
Tue Jul 26 13:34:32 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=13&rev2=14

Comment:
Copy friendly.

  
  Use the fetch_example_applications script provided with the boinc-server-maker package to obtain the binaries for the wrapper applications, copy them to the app folder of the project root. Since this is a multifile project, the directory hierarchies are important. The binaries should be arranged as following structure.
  
- In multi file applications, The files are put in a sub-directory of name ''appname''_''version''_''fullplatformname''.
+ In multifile applications, The files are put in a sub-directory of name ''appname''_''version''_''fullplatformname''.
  
  You are invited to use the script provided by the boinc-server-maker package {{{
  /usr/share/doc/boinc-server-maker/examples/fetch_example_applications.sh
@@ -108, +108 @@

      |   |-- count
      |   |-- count.sig
      |   |-- job.xml
+     |   |-- job.xml.sig
      |   |-- wrapper_6.12_i686-pc-linux-gnu
      |   `-- wrapper_6.12_i686-pc-linux-gnu.sig
      |-- wrapper_6.12_ia64-linux-gnu
      |   |-- count
      |   |-- count.sig
+     |   |-- job.xml
+     |   |-- job.xml.sig
      |   |-- wrapper_6.12_ia64-linux-gnu
      |   `-- wrapper_6.12_ia64-linux-gnu.sig
      |-- wrapper_6.12_mips-linux-gnu
      |   |-- count
      |   |-- count.sig
+     |   |-- job.xml
+     |   |-- job.xml.sig
      |   |-- wrapper_6.12_mips-linux-gnu
      |   `-- wrapper_6.12_mips-linux-gnu.sig
      `-- wrapper_6.12_x86-64-pc-linux-gnu
          |-- count
          |-- count.sig
+         |-- job.xml
+         |-- job.xml.sig
          |-- wrapper_6.12_x86_64-pc-linux-gnu
          `-- wrapper_6.12_x86_64-pc-linux-gnu.sig
  }}}
  
- Use ''bin/xadd'' and ''bin/update_versions'' to put the app to database: {{{
+ Use ''bin/xadd'' and ''bin/update_versions'' to put the app to database: 
- to be added, present the option for the automate signing (sm)
+  * Add the application entries,
+ {{{
+ 
+ $ cat <<APPCONFIG >>$projectroot/$fileprojectname/project.xml
+ <app>
+    <name>wrapper</name>
+    <user_friendly_name>Wrapper Test</user_friendly_name>
+ </app>
+ APPCONFIG
+ }}}
+  
+  * Update versions,
+ {{{
+ $ bin/update_versions
  }}}
  
  === Workunit ===
@@ -136, +156 @@

  ==== Template files ====
  
  The application does not have an input, and dos a trivial small computation. A sample workunit template for the script, say ''wrapper_wu'' should look like {{{
+ $ cat <<WUCONF > $projectroot/$fileprojectname/templates/wrapper_wu
  <workunit>
      <rsc_fpops_bound>1e12</rsc_fpops_bound>
      <rsc_fpops_est>1e14</rsc_fpops_est>
  </workunit>
+ WUCONF
  }}}
  
  The ''rsc_fpop'' directives are used to define computational size parameters, expressed as number of FLOPS needed by the program. Our ''count'' produces a file named ''out'' as output, which should be transported back, the result template will be (call it wrapper_result){{{
+ $ cat <<WRECONF > $projectroot/$fileprojectname/templates/wrapper_result
  <file_info>
      <name><OUTFILE_0/></name>
      <generated_locally/>
@@ -157, +180 @@

          <copy_file/>
      </file_ref>
  </result>
+ WRECONF
  }}}
  
  Both templates have to be created in the folder ''$installroot/$fileprojectname/templates/''.



More information about the pkg-boinc-commits mailing list