On 29/03/2021 13:03, Diego Zuccato wrote:
Il 29/03/21 09:35, taleinterve...@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
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
Il 29/03/21 09:35, taleinterve...@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.
--
Diego Zuccato
Hello,
Because I'm not sure about the relations between fields of job_desc
structure and sbatch parameter, I want to print all the fields and their
values in job_desc when testing job_submit.lua. But the following code add
to job_submit.lua failed to iterate through job_desc, the for loop