From 62b4b2aaf9f7343216f69f28a3f5c651c5292389 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 2 Jan 2012 08:54:28 +0000 Subject: [PATCH] - LAMMPS svn path=/trunk/boinc/; revision=24971 --- html/user/lammps.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/user/lammps.php b/html/user/lammps.php index c97f4c85b4..ec0c360c71 100644 --- a/html/user/lammps.php +++ b/html/user/lammps.php @@ -28,7 +28,7 @@ require_once("../inc/sandbox.inc"); // // output: success flag, CPU time per step, est. disk usage per job // -function lammps_est($testdir) { +function lammps_est() { $avg_cpu = 0; $disk_space = 0; $test_result = 0; @@ -157,13 +157,13 @@ function prepare_batch($user) { symlink($structure_file_path, "structure_file"); symlink($command_file_path, "lammps_script"); symlink($cmdline_file_path, "cmd_variables"); - list($error, $cpu, $disk) = lammps_est(); + list($error, $est_cpu_time, $disk) = lammps_est(); if ($error) { error_page("LAMMPS test failed"); } - $info->rsc_fpops_est = $cpu * 5e9; + $info->rsc_fpops_est = $est_cpu_time * 5e9; // get disk space per job // TODO