mirror of https://github.com/BOINC/boinc.git
- LAMMPS job submission: set rsc_fpops_bound to 20 times rsc_fpops_est
svn path=/trunk/boinc/; revision=25377
This commit is contained in:
parent
c4bd510f22
commit
3f5c03d813
|
@ -2441,3 +2441,8 @@ David 3 Mar 2012
|
|||
lib/
|
||||
gui_rpc_client_ops.cpp
|
||||
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
|
||||
|
|
|
@ -283,6 +283,7 @@ function prepare_batch($user) {
|
|||
|
||||
system("rm *");
|
||||
$info->rsc_fpops_est = $est_cpu_time * 5e9;
|
||||
$info->rsc_fpops_bound = $rsc_fpops_est * 20;
|
||||
|
||||
$info->rsc_disk_bound = $disk;
|
||||
|
||||
|
@ -313,7 +314,7 @@ function prepare_batch($user) {
|
|||
}
|
||||
|
||||
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) {
|
||||
$cmd .= " --command_line \"$cmdline\"";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue