Hi,
There is a bug in the condor part of the edg-ce-all script. In
sub computeResponseTimes
you need to add "max( floor" lines,
if ($AllCE{$dn}{GlueCEInfoTotalCPUs} != 0){
unless (defined $AllCE{$dn}{GlueCEStateWorstResponseTime}){
max( floor (
$AllCE{$dn}{GlueCEStateWorstResponseTime} =
$AllCE{$dn}{GlueCEPolicyMaxWallClockTime} *
$AllCE{$dn}{GlueCEPolicyMaxTotalJobs} /
$AllCE{$dn}{GlueCEInfoTotalCPUs}),0);
}
unless (defined $AllCE{$dn}{GlueCEStateEstimatedResponseTime}){
$AllCE{$dn}{GlueCEStateEstimatedResponseTime} =
max( floor (
$AllCE{$dn}{GlueCEPolicyMaxWallClockTime} *
($AllCE{$dn}{GlueCEStateRunningJobs} / 4 +
$AllCE{$dn}{GlueCEStateWaitingJobs} / 2)
/
$AllCE{$dn}{GlueCEInfoTotalCPUs}),0);
}
Cheers,
Rod.
On Tue, 15 Jun 2004, Gergely Debreczeni wrote:
> Hi Jose !
> BUDAPEST grid109.kfki.hu
> (jobmanager-fork ok)
> (jobmanager-lcgcondor ok)
> (Error adding the site to the BDII because GlueCEStateWorstResponseTime and
> GlueCEStateEstimatedResponseTime are not integers)
>
> Why should it be ?
>
> As it is defined in edg-ce-all
> $AllCE{$dn}{GlueCEStateWorstResponseTime} =
> $AllCE{$dn}{GlueCEPolicyMaxWallClockTime} *
> $AllCE{$dn}{GlueCEPolicyMaxTotalJobs} /
> $AllCE{$dn}{GlueCEInfoTotalCPUs};
>
> and I can't found where it is converted to integer...
> In our case it is : 691200*200/84
> Gergo
>
> --
>
--
Rod Walker +1 6042913051
|