Changes between Version 29 and Version 30 of WrapperApp
- Timestamp:
- Aug 5, 2008, 1:06:25 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WrapperApp
v29 v30 74 74 We assume that you have already [MakeProject created a project] with root directory PROJECT/. 75 75 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'. 78 78 * [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'). 79 79 * In the same directory, create a file 'job.xml=job_1.12.xml' (1.12 is a version number) containing … … 165 165 166 166 The wrapper program executes the worker, connecting its stdin to project/input2 and its stdout to project/worker_nodelete_0. 167 167 168 The worker program opens 'in' for reading and 'out' for writing. 168 169