[torquedev] Walltime.Remaining part 2

Vikentsi Lapa vlapa at newman.bas-net.by
Fri Nov 19 03:59:03 MST 2010

How to determine right format of Walltime.Remaining when job in Q state?

In file torque-2.5.3/src/server/stat_job.c i found declaration

unsigned long remaining = 0;

But %ld form string with signed long. Perhaps  %lu more suitable? 

Or declaration change from
   unsigned long remaining = 0;
     signed long remaining = 0;

I can't decide what way is correct. Please help. 

More information about the torquedev mailing list