[slurm-users] how to print all the key-values of "job_desc" in job_submit.lua?

Chrysovalantis Paschoulas c.paschoulas at fz-juelich.de
Mon Mar 29 11:30:00 UTC 2021


Hi all!

I had the same problem, so I can feel your pain..

You can find all available fields of job_desc (and job_rec) in this file:
```
src/plugins/job_submit/lua/job_submit_lua.c
```
and then as a workaround, I was just printing specific fields for 
debugging..

Best Regards,
Valantis



On 29.03.21 13:03, Diego Zuccato wrote:
> Il 29/03/21 09:35, taleintervenor at sjtu.edu.cn ha scritto:
>
>> Why the loop code cannot get the content in job_desc? And what is the
>> correct way to print all its content without manually specify each key?
> I already reported it quite some time ago. Seems pairs() is not working.
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5352 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210329/c3ac0f0d/attachment-0001.bin>


More information about the slurm-users mailing list