- client: if GPU is removed while jobs in progress,

don't show messages as internal errors.


svn path=/trunk/boinc/; revision=19237
This commit is contained in:
David Anderson 2009-10-03 00:20:52 +00:00
parent fb14ff8a7a
commit c06c07cf14
3 changed files with 19 additions and 15 deletions

View File

@ -8379,3 +8379,11 @@ David 2 Oct 2009
work_fetch.cpp
lib/
coproc.cpp
David 2 Oct 2009
- client: if GPU is removed while jobs in progress,
don't show messages as internal errors.
client/
app.cpp
cs_statefile.cpp

View File

@ -631,10 +631,6 @@ int ACTIVE_TASK::parse(MIOFILE& fin) {
|| result->ready_to_report
|| result->state() != RESULT_FILES_DOWNLOADED
) {
msg_printf(project, MSG_INTERNAL_ERROR,
"State file error: result %s is in wrong state\n",
result_name
);
return ERR_BAD_RESULT_STATE;
}

View File

@ -269,7 +269,7 @@ int CLIENT_STATE::parse_state_file() {
}
}
if (avp->missing_coproc()) {
msg_printf(project, MSG_INTERNAL_ERROR,
msg_printf(project, MSG_INFO,
"Application uses missing %s GPU",
avp->ncudas?"NVIDIA":"ATI"
);
@ -353,7 +353,7 @@ int CLIENT_STATE::parse_state_file() {
continue;
}
if (rp->avp->missing_coproc()) {
msg_printf(project, MSG_INTERNAL_ERROR,
msg_printf(project, MSG_INFO,
"Missing coprocessor for task %s; aborting", rp->name
);
rp->abort_inactive(ERR_MISSING_COPROC);