Hello,
Being forced to read all the scripts having something to do with
publishing info through BDII (see my previous hopeless e-mails), I have
noticed that there is probably a bug in
/opt/lcg/libexec/lcg-info-dynamic-pbs and the following patch should be
applied, if I understand it correctly (what is the purpose of dividing the
number of jobs by 60?).
I will open bug in savannah.
--- /opt/lcg/libexec/lcg-info-dynamic-pbs.orig Sat Jan 15 13:29:12 2005
+++ /opt/lcg/libexec/lcg-info-dynamic-pbs Sat Jan 15 13:29:24 2005
@@ -117,7 +117,7 @@
push @output, "GlueCEPolicyMaxCPUTime: ". int(&convertHhMmSs($1)/60) . "\n";
}
if (/^\s+max_running\s+=\s+(\d+)/){
- push @output, "GlueCEPolicyMaxRunningJobs: " . int($1/60) . " \n";
+ push @output, "GlueCEPolicyMaxRunningJobs: " . int($1) . " \n";
}
if (/^\s+resources_max.walltime\s+=\s+(\S+)/){
$WallTime= &convertHhMmSs($1);
--
Jiri Kosina
Institute of Physics, Academy of sciences of the Czech Republic
|