mirror of https://github.com/BOINC/boinc.git
- client: app_info.xml's are parsed before p_fpops is known,
so avp->fpops is zero. Fix this by filling in zero avp->fpops later on. svn path=/trunk/boinc/; revision=16633
This commit is contained in:
parent
8872180e47
commit
edf0ab1631
|
@ -9891,3 +9891,12 @@ Rom 5 Dec 2008
|
|||
win_build/installerv2/redist/Windows/x64/
|
||||
boinccas.dll
|
||||
boinccas95.dll
|
||||
|
||||
David 5 Dec 2008
|
||||
- client: app_info.xml's are parsed before p_fpops is known,
|
||||
so avp->fpops is zero.
|
||||
Fix this by filling in zero avp->fpops later on.
|
||||
|
||||
client/
|
||||
client_state.cpp
|
||||
cs_scheduler.cpp
|
||||
|
|
|
@ -235,6 +235,8 @@ int CLIENT_STATE::init() {
|
|||
|
||||
// check for app_info.xml file in project dirs.
|
||||
// If find, read app info from there, set project.anonymous_platform
|
||||
// NOTE: this is being done before CPU speed has been read,
|
||||
// so we'll need to patch up avp->flops later;
|
||||
//
|
||||
check_anonymous();
|
||||
|
||||
|
@ -243,6 +245,7 @@ int CLIENT_STATE::init() {
|
|||
// for projects with no account file
|
||||
//
|
||||
host_info.clear_host_info();
|
||||
cpu_benchmarks_set_defaults(); // for first time, make sure p_fpops nonzero
|
||||
parse_state_file();
|
||||
parse_account_files_venue();
|
||||
|
||||
|
@ -251,6 +254,13 @@ int CLIENT_STATE::init() {
|
|||
show_host_info();
|
||||
show_proxy_info();
|
||||
|
||||
// fill in avp->flops for anonymous project
|
||||
//
|
||||
for (i=0; i<app_versions.size(); i++) {
|
||||
APP_VERSION* avp = app_versions[i];
|
||||
if (!avp->flops) avp->flops = host_info.p_fpops;
|
||||
}
|
||||
|
||||
check_clock_reset();
|
||||
|
||||
vector<string> strs = coprocs.get();
|
||||
|
|
|
@ -417,7 +417,7 @@ int CLIENT_STATE::handle_scheduler_reply(
|
|||
if (log_flags.sched_op_debug) {
|
||||
if (sr.scheduler_version) {
|
||||
msg_printf(project, MSG_INFO,
|
||||
"[sched_ops_debug] Server version %d",
|
||||
"[sched_op_debug] Server version %d",
|
||||
sr.scheduler_version
|
||||
);
|
||||
}
|
||||
|
@ -758,7 +758,7 @@ int CLIENT_STATE::handle_scheduler_reply(
|
|||
if (log_flags.sched_op_debug) {
|
||||
if (sr.results.size()) {
|
||||
msg_printf(project, MSG_INFO,
|
||||
"[sched_ops_debug] estimated total job duration: %.0f seconds",
|
||||
"[sched_op_debug] estimated total job duration: %.0f seconds",
|
||||
est_duration
|
||||
);
|
||||
}
|
||||
|
|
|
@ -12,11 +12,11 @@ $biomed = array(
|
|||
"docking.png"
|
||||
),
|
||||
array(
|
||||
"GPU Grid - PS3 Grid",
|
||||
"http://www.ps3grid.net/",
|
||||
"GPUGrid.net ",
|
||||
"http://www.gpugrid.net/",
|
||||
"Barcelona Biomedical Research Park (PRBB)",
|
||||
"Molecular simulations of proteins",
|
||||
"PS3GRID opens novel computational scenarios by the first full-atom molecular dynamics code (CellMD) specially optimized to run on the Cell processor and the PlayStation3. New biomedical applications suddenly become possible giving a new role to computational biology for biomedical research.",
|
||||
"GPUGrid.net opens novel computational scenarios by the first full-atom molecular dynamics code (CellMD) specially optimized to run on NVIDIA GPUs and the Sony PlayStation 3. New biomedical applications suddenly become possible giving a new role to computational biology for biomedical research.",
|
||||
"ps3grid.png"
|
||||
),
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue