On A. Interface changes
How frequently the resource_used.energy value will get updated in qstat -f output?
Is there any dependency on hook for updation of resource_used.energy value ?
Ans: On every periodic hook run, by default set to 300 seconds. Yes, value updated from hook itself.
Will unit also be visible in qstat -f output along with resource_used.energy value
for ex in qstat -f output .
resource_used.energy = 64.2
resource_used.energy = 64.2 kWh
Ans: Unit is not displayed in either qstat -f output or accounting logs.
In case job get requeued will this new resource_used will get updated in accounting log in 'R' log?
1. Could you please provide example , how scheduler can run a job requesting an eoe on vnodes with a current_eoe value that matches the job eoe?
Ans: Example is mentioned in User instructions.
qsub -leoe=low -lncpus=20 lackadaisical.sh
qsub -lselect=4:eoe=high:ncpus=8 zoomjob
If current_eoe already has "low" profile PMI wont activate profile again if not it'll activate requested profile and set it to current_eoe ofcourse only if it is part of available eoe list.
Message you had given in example is look more like information rather than LOG_WARNING
11/19/2014 17:24:18;0006;pbs_python;Hook;pbs_python; 21.bigcray;launch: finished in 156 seconds
is obejective to give LOG_WARNING or LOG_INFO ?
Ans: It is a warning. Launch makes a call to capmc and it shouldn't wait that long.
1. Fot any python exception will it log below messgae in log
socket.error: [Errno 111] Connection refused?
Ans: Not the same message every time. Hook will print whatever system or internal errors captured to the log. In the above example it is socket error with connection refused message.
C. User’s instructions
Monitor power usage of a job.
Use qstat to see the resources_used.energy value as the job runs.
Once the job will finished will it be seen in qstat -fx output , if job history is enable ?