*** empty log message ***

svn path=/trunk/boinc/; revision=2839
This commit is contained in:
David Anderson 2003-12-30 23:14:34 +00:00
parent 8d1f80b8d0
commit db57060a20
5 changed files with 28 additions and 3 deletions

View File

@ -8799,3 +8799,9 @@ David 30 Dec 2003
sched/ sched/
start start
David 30 Dec 2003
- added <app_version> element to <stderr_out> in RPC request message
client/
client_types.C,h

View File

@ -938,6 +938,9 @@ int RESULT::write(FILE* out, bool to_server) {
n = stderr_out.length(); n = stderr_out.length();
if (n) { if (n) {
fprintf(out, "<stderr_out>\n"); fprintf(out, "<stderr_out>\n");
if (to_server) {
fprintf(out, "<app_version>%d</app_version>\n", wup->version_num);
}
fprintf(out, stderr_out.c_str()); fprintf(out, stderr_out.c_str());
if (stderr_out[n-1] != '\n') fprintf(out, "\n"); if (stderr_out[n-1] != '\n') fprintf(out, "\n");
fprintf(out, "</stderr_out>\n"); fprintf(out, "</stderr_out>\n");

View File

@ -248,6 +248,21 @@ struct RESULT {
// defined only if active_task_state is PROCESS_SIGNALED // defined only if active_task_state is PROCESS_SIGNALED
int active_task_state; // the state of the active task corresponding to this result int active_task_state; // the state of the active task corresponding to this result
string stderr_out; string stderr_out;
// the concatenation of:
//
// - if report_result_error() is called for this result:
// <message>x</message>
// <active_task_state>x</active_task_state>
// <exit_status>x</exit_status>
// <signal>x</signal>
// - if called in FILES_DOWNLOADED state:
// <couldnt_start>x</couldnt_start>
// - if called in NEW state:
// <download_error>x</download_error> for each failed download
// - if called in COMPUTE_DONE state:
// <upload_error>x</upload_error> for each failed upload
//
// - <stderr_txt>X</stderr_txt>, where X is the app's stderr output
APP* app; APP* app;
WORKUNIT* wup; WORKUNIT* wup;

View File

@ -60,10 +60,10 @@ The work manager window has several tabs:
<li>Downloading: input files are being downloaded. <li>Downloading: input files are being downloaded.
<li>Ready to run: <li>Ready to run:
An estimate of the total CPU time is shown. An estimate of the total CPU time is shown.
<li>In progress: currently running. <li>Running: currently running.
Elapsed CPU time and estimated percent done is shown. Elapsed CPU time and estimated percent done is shown.
<li>Uploading: output files are being uploaded. <li>Uploading: output files are being uploaded.
<li>Done: waiting to notify the scheduling server. <li>Ready to report: waiting to notify the scheduling server.
</ul> </ul>
Right-click on a work unit to: Right-click on a work unit to:
<ul> <ul>
@ -108,6 +108,7 @@ The work manager's menu items are as follows:
use this dialog to enter its address and port. use this dialog to enter its address and port.
</ul> </ul>
<li> <b>Help</b> <li> <b>Help</b>
<ul>
<li> <b>About</b>: show work manage version number. <li> <b>About</b>: show work manage version number.
</ul> </ul>
</ul> </ul>

View File

@ -10,7 +10,7 @@ You can join a second and subsequent projects as follows.
Note: if you wish, you can use different email and name Note: if you wish, you can use different email and name
than those of your first account. than those of your first account.
<li> Receive an email containing an account key (a long random string). <li> Receive an email containing an account key (a long random string).
<li> Run the BOINC client, and select the <b>Add Project</b> command. <li> Run the BOINC client, and select the <b>Attach to Project</b> command.
Enter the project's URL and your account key. Enter the project's URL and your account key.
</ol> </ol>