Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moldable jobspec support #3928

Open
dongahn opened this issue Oct 29, 2021 · 0 comments
Open

moldable jobspec support #3928

dongahn opened this issue Oct 29, 2021 · 0 comments

Comments

@dongahn
Copy link
Member

dongahn commented Oct 29, 2021

As part of node-exclusive scheduling for day 1 (flux-framework/flux-sched#833), I submitted a moldable jobspec using flux job submit and got the following error:

  "resources": [
    {
      "type": "node",
      "count": 1,
      "with": [
        {
          "type": "slot",
          "count": 1,
          "with": [
            {
              "type": "core",
              "count": {
                  "min" : 1
              }
            }
          ],
          "label": "task"
        }
      ]
    }
  ],
ahn1@docker-desktop:/usr/src/NODE_X$ 2021-10-29T22:52:09.058711Z job-list.err[0]: parse_res_level: job 6469630033920 invalid jobspec: Expected integer, got object

I looks like there are a few instances that assume non-moldable jobspec:

"count", &res.count,

"count", &res.count,

This handles V1 jobspec correctly, but as we need to extend jobspec to include moldable spec, we need to extend the code as well.

Should I go ahead and propose a change to V1 jobspec RFC PR and use that as a catch-all ticket?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant