Changes between Version 18 and Version 19 of WorkGeneration
- Timestamp:
- Oct 10, 2007, 8:16:01 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkGeneration
v18 v19 221 221 If you're making lots of workunits (e.g. to do the various parts of a parallel computation) you'll want the workunits to differ either in their input files, their command-line arguments, or both. 222 222 223 {{{ 224 #!comment The example should show how to copy the input files in the right place from a C++ work generator. 225 }}} 226 223 227 For example, let's say you want to run a program on ten input files 'file0', 'file1', ..., 'file9'. You might modify the above program with the following code: 224 228 {{{ … … 290 294 bin/create_work -appname setiathome -wu_name sah_nodelete -wu_template templates/setiathome_wu_0 -result_template templates/setiathome_result_0 12ja04aa 291 295 }}} 296 {{{ 297 #!comment Why, if the workunit is never deleted? 298 }}}