| 1 | = Staging input files = |
| 2 | |
| 3 | Input files may be "local" (resident on the project server) or "non-local". |
| 4 | For local files, BOINC fills in the download URL, the file size, and the MD5. |
| 5 | For non-local files, you must supply these yourself in the input template. |
| 6 | You can supply multiple URLs if the file is on multiple data servers. |
| 7 | |
| 8 | == Staging local input files == |
| 9 | Before submitting a job, you must '''stage''' its local input files using |
| 10 | {{{ |
| 11 | bin/stage_file [--gzip] [--copy] file |
| 12 | }}} |
| 13 | --gzip:: send the file in compressed form to 7.0+ clients. Note: you must also include the '''<gzip/>''' attribute for this file in the job's input template (see above). |
| 14 | --copy:: copy the file from its current location to the BOINC download directory. The default is to move it. |
| 15 | |
| 16 | Note: '''stage_file''' was added to the BOINC trunk on 16 Oct 2012. |
| 17 | If your server code is older than that, use |
| 18 | {{{ |
| 19 | cp test_files/12ja04aa `bin/dir_hier_path 12ja04aa` |
| 20 | }}} |