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

Initialize rabbits as down #120

Merged

Conversation

jameshcorbett
Copy link
Member

@jameshcorbett jameshcorbett commented Dec 20, 2023

WIP until Fluxion is updated to support a status parameter to the `FluxionResourcePoolV1 class.

Edit: done.

@jameshcorbett jameshcorbett force-pushed the initialize-rabbits-as-down branch from 5be0ba2 to f188ddb Compare December 21, 2023 23:21
@jameshcorbett
Copy link
Member Author

jameshcorbett commented Dec 21, 2023

@jameshcorbett jameshcorbett force-pushed the initialize-rabbits-as-down branch from f188ddb to f0d7a6c Compare December 21, 2023 23:57
Problem: there is no way to set the status of a fluxion vertex in
the testsuite.

Add a helper script.
Problem: when Fluxion reads in the resource graph generated by
dws2jgf, it initially marks all rabbits as up. This is undesirable
because it may allocate down rabbits prematurely, before coral2_dws
can mark rabbits as down.

Initialize rabbits as down.
Problem: the testsuite expects rabbits to be initialized as up,
but they are initialized as down, with a new 'status: 1' entry in
the JGF.

Update the expected JGF and test behavior.
@jameshcorbett jameshcorbett force-pushed the initialize-rabbits-as-down branch from f0d7a6c to 116bd86 Compare December 22, 2023 02:29
@jameshcorbett jameshcorbett marked this pull request as ready for review December 23, 2023 05:34
@jameshcorbett jameshcorbett requested a review from cmoussa1 January 4, 2024 23:27
Copy link
Contributor

@grondo grondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, LGTM!

@vsoch
Copy link
Member

vsoch commented Jan 5, 2024

The wabbits are down, you say? Did you try giving them carrwots? 🥕 🥕

@jameshcorbett
Copy link
Member Author

It's worth everything @grondo ! Setting MWP.

@mergify mergify bot merged commit 3eb80b6 into flux-framework:master Jan 5, 2024
8 checks passed
@jameshcorbett jameshcorbett deleted the initialize-rabbits-as-down branch January 5, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants