[torqueusers] Walltime.Remaining part 2

Vikentsy Lapa vlapa at newman.bas-net.by
Fri Nov 19 02:25:08 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 torqueusers mailing list