Changes between Version 17 and Version 18 of WrapperApp
- Timestamp:
- Jul 20, 2007, 9:13:45 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WrapperApp
v17 v18 49 49 == Example == 50 50 51 Here's an example that shows how to use this mechanism: 51 Here's an example that shows how to use this mechanism. 52 We assume that you have already [MakeProject created a project] with root directory PROJECT/. 53 52 54 * 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. 53 55 * 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.). 54 * [MakeProject Create a project] if you haven't already done so.55 56 * [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. 56 57 * In the same directory, create a file 'job.xml=job_1.12.xml' (1.12 is a version number) containing