On Sat, 15 Jan 2005, Jiri Kosina wrote:
> 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.
That bug has been opened a few times already and it is fixed (along with a
slew of other bugs) in the latest version. It is still being tested, but it
looks good enough, so just take it; we will update the APT repository ASAP.
RH73:
http://grid-deployment.web.cern.ch/grid-deployment/RpmDir/external/lcg-info-dynamic-pbs-1.0.3-1.noarch.rpm
SL3:
http://grid-deployment.web.cern.ch/grid-deployment/RpmDir_i386-sl3/external/lcg-info-dynamic-pbs-1.0.3-1_sl3.noarch.rpm
> --- /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
>
|