[Debian Wiki] Update of "BOINC/ServerGuide/WrapperApp" by SteffenMoeller
Debian Wiki
debian-www at lists.debian.org
Fri Jul 22 17:07:25 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 SteffenMoeller:
http://wiki.debian.org/BOINC/ServerGuide/WrapperApp?action=diff&rev1=3&rev2=4
Comment:
Allowing copy and paste.
The application doesnt have an input, and do a trivial small computaion. A sample workunit template for the script should look like
{{{
+ cat <<EOWUTEMPLATE > $projectname/wu.template
<workunit>
<rsc_fpops_bound>1e12</rsc_fpops_bound>
<rsc_fpops_est>1e14</rsc_fpops_est>
</workunit>
+ EOWUTEMPLATE
}}}
rsc_fpop directives are used to define computaional size parameters, expressed as number of FLOPS needed by the program.
The count produces a file named ''out'' as output, which should be transported back, the result template will be
{{{
+ cat <<EOWURESULTTEMPLATE > $projectname/wu_result.template
<file_info>
<name><OUTFILE_0/></name>
<generated_locally/>
@@ -162, +165 @@
<copy_file/>
</file_ref>
</result>
+ EOWURESULTTEMPLATE
}}}
Finally create work,
{{{
- user at host $cd $projectroot
- user at host $./bin/create_work --appname wrapper --wu_name wrapper_test --wu_template /path/to/wu/template --result_template /path/to/result/template
+ cd $projectroot
+ ./bin/create_work --appname wrapper --wu_name wrapper_test \
+ --wu_template $projectname/wu.template \
+ --result_template $projectname/wu_result.template
}}}
More information about the pkg-boinc-commits
mailing list