On Thu, 3 Mar 2011, Richard Ems wrote:
On 03/03/2011 09:49 AM, Mark Dixon wrote:
1) Can you forward the contents of schedule.last, please?
I'll send this to you by PM.
Thanks. The problem was a poorly terminated recursive function: the bug
was hit in your setup because you don't use h_vmem to manage memory like
we do.
This should fix the immediate problem (varying the output for sites that
don't use h_vmem is something that will make it in at some point):
--- qsched 2011-03-01 15:03:56.688349000 +0000
+++ qsched 2011-03-03 11:52:51.165907000 +0000
@@ -373,7 +373,7 @@
my($value, $base) = @_;
my $new_value = $value / $base;
- if ($new_value == POSIX::floor($value / $base)) {
+ if ($new_value != 0 && $new_value == POSIX::floor($value / $base)) {
my($value, $nbase) = contract_suffix($new_value, $base);
return ($value, $nbase+1);
} else {
--
-----------------------------------------------------------------
Mark Dixon Email : [email protected]
HPC/Grid Systems Support Tel (int): 35429
Information Systems Services Tel (ext): +44(0)113 343 5429
University of Leeds, LS2 9JT, UK
-----------------------------------------------------------------
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users