Kyriakos G. Ginis wrote:
> [...]
>
> Are you sure that the SL3 rpm fixes bug #6216? I just downloaded it and
> as far as I can tell the offending code is exactly as it used to be:
>
> $FreeCPU=0;
> while(<QSTAT>) {
> if (/state = free/){
> $state="free";
> }elsif(/state =/){
> undef $state;
> }
> if(/np =/){
> $num_pro = $_;
> $num_pro =~s/^[^=]*=//;
> chomp $num_pro;
> $TotalCPU=$TotalCPU + $num_pro;
> if ($state){
> $FreeCPU=$FreeCPU + $num_pro;
> }
> }
> }
>
> (The above code assumes that if PBS reports a node's state as 'free',
> all CPUs of this node are Free, which is not the case...)
Indeed: somehow the version in CVS ended up without the fix for that... :-(
(An intermediate version *did* have it fixed.)
We will create a new version ASAP, but at least the current version
does seem to fix the most urgent bugs. More news ASAP.
|