| Summary: | error: _set_job_field: unrecognized field: gres_alloc | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Amit Kumar <ahkumar> |
| Component: | Configuration | Assignee: | Scott Hilton <scott> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 3 - Medium Impact | ||
| Priority: | --- | ||
| Version: | 20.11.3 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | SMU | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | --- |
| Machine Name: | CLE Version: | ||
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
Amit,
> error: _set_job_field: unrecognized field: gres_alloc
> error: _set_job_field: unrecognized field: req
These error messages mean that the lua script tried to edit fields that don't exist in that structure.
-Scott
(In reply to Scott Hilton from comment #2) > Amit, > > > error: _set_job_field: unrecognized field: gres_alloc > > error: _set_job_field: unrecognized field: req > > These error messages mean that the lua script tried to edit fields that > don't exist in that structure. > > -Scott Hi Scott, Is there a way I can get/list all editable fields using lua? Regards, Amit Look at _set_job_req_field() and _get_job_req_field() in https://github.com/SchedMD/slurm/blob/master/src/plugins/job_submit/lua/job_submit_lua.c to see which fields you can read and write to respectively. -Scott Thank you Scott!! |
Dear SchedMD, Here is new ticket as per your suggestion for addressing the following: > error: _set_job_field: unrecognized field: gres_alloc > error: _set_job_field: unrecognized field: req Please let me know if you need additional information. Thank you, Amit