116 | | NULL|<err msg> <job1> <status1> ... |
117 | | }}} |
118 | | Notes: |
119 | | * status is either NOT_STARTED, IN_PROGRESS, DONE, or ERROR |
120 | | |
121 | | Retrieve a job's output files: |
122 | | {{{ |
123 | | BOINC_FETCH_OUTPUT <req id> <job name> <dir> <stderr name> |
| 116 | <err msg> | NULL <job name 1> <status1> ... |
| 117 | }}} |
| 118 | Status is either IN_PROGRESS, DONE, or ERROR |
| 119 | |
| 120 | Retrieve the outputs of a job that's completed |
| 121 | (i.e. its status is DONE or ERROR). |
| 122 | {{{ |
| 123 | BOINC_FETCH_OUTPUT <req id> <job name> <dir> <stderr filename> |
136 | | * If 'ALL' is given instead of <#files>, |
137 | | then no filenames will follow. |
138 | | * The exact format of runtime stats and related data is yet |
139 | | to be determined. |
| 136 | * If 'ALL' is given instead of <#files>, then no filenames will follow. |
| 137 | |
| 138 | BOINC may replicate jobs to ensure that results are valid. |
| 139 | One replica, the "canonical instance", is designated as the authoritative result. |
| 140 | A job can fail for various reasons: e.g. all the instances crash, |
| 141 | or there is no consensus among the instances, |
| 142 | or no instances could be dispatched. |
| 143 | |
| 144 | If the status is DONE, then the output files of the canonical instance, |
| 145 | and its stderr output, are fetched. |
| 146 | <exit status> will be zero in this case. |
| 147 | |
| 148 | If the status is ERROR, the BOINC GAHP will look for an instance |
| 149 | for which some information is available (e.g., exit status and stderr output), |
| 150 | and will return this information. |
| 151 | If there is no such instance, it will return an error message. |