From 3f5c03d8137a26be25646b077f4e8c2799d6c8c0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 4 Mar 2012 05:29:14 +0000 Subject: [PATCH] - LAMMPS job submission: set rsc_fpops_bound to 20 times rsc_fpops_est svn path=/trunk/boinc/; revision=25377 --- checkin_notes | 5 +++++ html/user/lammps.php | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index ff07312469..bc6c706dcb 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/html/user/lammps.php b/html/user/lammps.php index b06882990a..fdd8e3f20f 100644 --- a/html/user/lammps.php +++ b/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\""; }