Changes between Version 22 and Version 23 of WrapperApp
- Timestamp:
- Sep 21, 2007, 11:44:11 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WrapperApp
v22 v23 16 16 <job_desc> 17 17 <task> 18 <application>worker _5.10_windows_intelx86.exe</application>18 <application>worker</application> 19 19 [ <stdin_filename>stdin_file</stdin_filename> ] 20 20 [ <stdout_filename>stdout_file</stdout_filename> ] … … 27 27 28 28 The job file specifies a sequence of tasks. 29 The descriptor for each task includes the name of the application, or 'worker program'.29 The descriptor for each task includes the logical name of the application, or 'worker program'. 30 30 If the worker program uses standard I/O (stdin, stdout or stderr) 31 31 the descriptor specifies the logical names of the files … … 56 56 * 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. 57 57 * 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.). 58 * [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. 58 * [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'). 59 59 * In the same directory, create a file 'job.xml=job_1.12.xml' (1.12 is a version number) containing 60 60 {{{ 61 61 <job_desc> 62 62 <task> 63 <application>worker _5.10_windows_intelx86.exe</application>63 <application>worker</application> 64 64 <stdin_filename>stdin</stdin_filename> 65 65 <stdout_filename>stdout</stdout_filename> … … 141 141 ||input2||stdin (link to project/input2)|| 142 142 ||worker_nodelete_0||stdout (link to project/worker_nodelete_0)|| 143 ||worker_5.10_windows_intelx86.exe||worker _5.10_windows_intelx86.exe(link to project/worker_5.10_windows_intelx86.exe)143 ||worker_5.10_windows_intelx86.exe||worker (link to project/worker_5.10_windows_intelx86.exe) 144 144 ||wrapper_5.10_windows_intelx86.exe||wrapper_5.10_windows_intelx86.exe (link to project/wrapper_5.10_windows_intelx86.exe) || 145 145