Changes between Version 29 and Version 30 of WrapperApp


Ignore:
Timestamp:
Aug 5, 2008, 1:06:25 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WrapperApp

    v29 v30  
    7474We assume that you have already [MakeProject created a project] with root directory PROJECT/.
    7575
    76  * Compile the program 'worker' from the [ExampleApps boinc_samples] tree, producing (say) 'worker_5.10_windows_intelx86.exe'. This is the legacy app. It 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.
    77  * Compile the program 'wrapper' from the [ExampleApps boinc_samples] tree, producing (say) 'wrapper_5.10_windows_intelx86.exe'.
     76 * Compile the program 'worker' from [ExampleApps boinc/samples], producing (say) 'worker_5.10_windows_intelx86.exe'. This is the legacy app. It 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.
     77 * Compile the program 'wrapper' from [ExampleApps boinc/samples], producing (say) 'wrapper_5.10_windows_intelx86.exe'.
    7878 * [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.  Rename the latter file to 'worker=worker_5.10_windows_intelx86.exe' (this gives it the logical name 'worker').
    7979 * In the same directory, create a file 'job.xml=job_1.12.xml' (1.12 is a version number) containing
     
    165165
    166166The wrapper program executes the worker, connecting its stdin to project/input2 and its stdout to project/worker_nodelete_0.
     167
    167168The worker program opens 'in' for reading and 'out' for writing.
    168169