Changes between Version 4 and Version 5 of WrapperApp


Ignore:
Timestamp:
Apr 27, 2007, 11:30:48 AM (17 years ago)
Author:
KSMarksPsych
Comment:

Updated links to point to wiki pages.

Legend:

Unmodified
Added
Removed
Modified
  • WrapperApp

    v4 v5  
    22
    33A '''legacy application''' is one for which an executable is available, but not the source code. Therefore it cannot use the BOINC API and runtime system. However, such applications can be run using BOINC. Here's an example:
    4  * Compile the program 'worker' from the [http://boinc.berkeley.edu/example.php boinc_samples] tree, producing (say) 'worker_5.10_windows_intelx86.exe'. This is the legacy app. If reads from stdin and writes to stdout; it also opens and reads a file 'in', and opens and writes a file 'out'. It takes one command-line argument: the number of CPU seconds to use.
    5  * Compile the program 'wrapper' from the [http://boinc.berkeley.edu/example.php boinc_samples] tree, producing (say) 'wrapper_5.10_windows_intelx86.exe'. This program executes your legacy application, and acts as a proxy for it (to report CPU time etc.).
    6  * [http://boinc.berkeley.edu/app.php Create an application] named 'worker', and a corresponding directory 'project/apps/worker'. In this directory, create a directory 'wrapper_5.10_windows_intelx86.exe'. Put the files 'wrapper_5.10_windows_intelx86.exe', and 'worker_5.10_windows_intelx86.exe' there.
     4 * Compile the program 'worker' from the [ExampleApps boinc_samples] tree, producing (say) 'worker_5.10_windows_intelx86.exe'. This is the legacy app. If reads from stdin and writes to stdout; it also opens and reads a file 'in', and opens and writes a file 'out'. It takes one command-line argument: the number of CPU seconds to use.
     5 * Compile the program 'wrapper' from the [ExampleApps boinc_samples] tree, producing (say) 'wrapper_5.10_windows_intelx86.exe'. This program executes your legacy application, and acts as a proxy for it (to report CPU time etc.).
     6 * [AppVersion Create an application] named 'worker', and a corresponding directory 'project/apps/worker'. In this directory, create a directory 'wrapper_5.10_windows_intelx86.exe'. Put the files 'wrapper_5.10_windows_intelx86.exe', and 'worker_5.10_windows_intelx86.exe' there.
    77 * In the same directory, create a file 'job.xml=job_1.12.xml' (1.12 is a version number) containing
    88{{{
     
    6969}}}
    7070 Note that the files opened directly by the legacy program must have the <copy_file> tag.
    71  * Run [http://boinc.berkeley.edu/tool_update_versions.php update_versions] to create an app version.
     71 * Run [UpdateVersions update_versions] to create an app version.
    7272 * Run a script like
    7373{{{