I only took a quick look at the patch, but it looks like you are on
the right path. This new field should probably be displayed by
"scontrol show job" and the sview's job information too. You should be
able to see how other fields are displayed and add similar logic for
this new field, which is what I presume that you did in squeue.
Moe
Quoting Martins Innus <[email protected]>:
Hello,
I am working on trying to get better information on how jobs are
being scheduled by the backfill algorithm. And have started with the
attached patch to expose information to squeue that is already
calculated by the scheduler. Since it breaks the ABI for messages
from the controller, I don't expect that this would be merged in the
nearterm, but is there any interest at some point to have this
available? Also, I would appreciate some feedback on whether I'm
doing the memory management correctly. It wasn't clear to me
exactly where memory should be freed.
Thanks
Martins