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

spec: add first draft for jobspec nextgen #11

Merged
merged 6 commits into from
Apr 29, 2024
Merged

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Apr 27, 2024

Problem: we need to start working on the nextgen jobspec!
Solution: create a spec.md that does that.

I will next start prototyping this into the library. My first goal will be taking jobspecs and running work with flux (to build, run, etc)
and then we can map this into flux miniclusters with the rainbow scheduler.

Note that tests will fail because I started tweaking an example but haven't changed any of the jsonschema in the library.

vsoch added 6 commits April 26, 2024 23:56
Problem: we need to start working on the
nextgen jobspec!
Solution: create a spec.md that does that.

I will next start prototyping this into the
library. My first goal will be taking jobspecs
and running work with flux (to build, run, etc)
and then we can map this into flux miniclusters
with the rainbow scheduler.

Signed-off-by: vsoch <[email protected]>
My computer is acting funky, do not want to lose this work.

Signed-off-by: vsoch <[email protected]>
Problem: we did not have a way to describe batch vs submit
Solution: a batch is a group of jobs or tasks. If we define
an abstraction of groups, it is easy to delineate the two,
and the user is free to still define a-la-carte tasks, tasks
within groups, or groups within tasks.

Signed-off-by: vsoch <[email protected]>
Problem: a workload can be any number of submit/batch
Solution: create a workload abstraction that can handle
the nesting. We can write flux batch scripts as jobspecs
to submit with flux job submit, and we do this by doing
flux submit with --dry-run and then adding a faux command
to a batch-script in files that does not exist. Then we load
the jobspec, add the faux script (with the subtasks) and then
flux job submit <jobspec>. Next I need to work on the group
in group case (a flux batch that submits another flux batch)

Signed-off-by: vsoch <[email protected]>
Signed-off-by: vsoch <[email protected]>
@vsoch vsoch merged commit c1b89a0 into main Apr 29, 2024
2 checks passed
@vsoch vsoch deleted the jobspec-next-generation branch April 29, 2024 02:39
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

Successfully merging this pull request may close these issues.

1 participant