- LAMMPS job submission: set rsc_fpops_bound to 20 times rsc_fpops_est

svn path=/trunk/boinc/; revision=25377
This commit is contained in:
David Anderson 2012-03-04 05:29:14 +00:00
parent c4bd510f22
commit 3f5c03d813
2 changed files with 7 additions and 1 deletions

View File

@ -2441,3 +2441,8 @@ David 3 Mar 2012
lib/ lib/
gui_rpc_client_ops.cpp gui_rpc_client_ops.cpp
gui_rpc_client.h gui_rpc_client.h
David 3 Mar 2012
- LAMMPS job submission: set rsc_fpops_bound to 20 times rsc_fpops_est
html/user/
lammps.php

View File

@ -283,6 +283,7 @@ function prepare_batch($user) {
system("rm *"); system("rm *");
$info->rsc_fpops_est = $est_cpu_time * 5e9; $info->rsc_fpops_est = $est_cpu_time * 5e9;
$info->rsc_fpops_bound = $rsc_fpops_est * 20;
$info->rsc_disk_bound = $disk; $info->rsc_disk_bound = $disk;
@ -313,7 +314,7 @@ function prepare_batch($user) {
} }
function submit_job($app, $batch_id, $info, $cmdline, $i) { function submit_job($app, $batch_id, $info, $cmdline, $i) {
$cmd = "cd ../..; ./bin/create_work --appname $app->name --batch $batch_id --rsc_fpops_est $info->rsc_fpops_est"; $cmd = "cd ../..; ./bin/create_work --appname $app->name --batch $batch_id --rsc_fpops_est $info->rsc_fpops_est --rsc_fpops_bound $info->rsc_fpops_bound";
if ($cmdline) { if ($cmdline) {
$cmd .= " --command_line \"$cmdline\""; $cmd .= " --command_line \"$cmdline\"";
} }