Changes between Version 13 and Version 14 of WrapperApp
- Timestamp:
- May 28, 2007, 8:59:30 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WrapperApp
v13 v14 27 27 28 28 The job file specifies a sequence of tasks. 29 The descriptor for each task includes the name of the application .30 If the applicationuses standard I/O (stdin, stdout or stderr)29 The descriptor for each task includes the name of the application, or 'worker program'. 30 If the worker program uses standard I/O (stdin, stdout or stderr) 31 31 the descriptor specifies the logical names of the files 32 32 to which these are to be connected. 33 The descriptor may also specify command-line argments to be passed to the application.33 The descriptor may also specify command-line argments to be passed to the worker program. 34 34 '''wrapper''' itself may be passed command-line arguments (specified in the workunit template); 35 these are passed to each of the applications after those specified in the job file.35 these are passed to each of the worker programs after those specified in the job file. 36 36 37 37 The job file can specify multiple tasks. … … 49 49 == Example == 50 50 51 Here's an example ofthis mechanism:51 Here's an example that shows how to use this mechanism: 52 52 * 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 53 * 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.).