-
Notifications
You must be signed in to change notification settings - Fork 31
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
Refactor staging functions #614
Conversation
baf7356
to
ff94eca
Compare
Not sure it has anything to do with this, but I recalled that there is one stage test currently set as UnifyFS/t/0700-unifyfs-stage-full.t Lines 60 to 62 in b5d723d
Essentially, even if this test fails on Travis, it will show as passing, which is something we should probably adjust in the long run. |
I would probably agree that this should be adjusted, but I might let someone that has more experience with this code make the call for whether/how that should be done. |
It might be best to make sure things are working so I can test my changes. Currently, tests 700 and 9300 are failing on Summit, even with the @MichaelBrim Thoughts on addressing this? |
@jenest I would just open another issue to resolve problems that already exist. |
Referenced in a comment on issue #523. I will be happy to create a separate issue if needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we are generating a single c-string representation of the full launch command, it's no longer necessary to keep a separate c-string for n_nodes
. Could you update the command snprintf()
to just use the %zu
format and pass it resource->n_nodes
as an arg? This change would go in each of the xxxrun_stage()
functions.
Fix formatting Reformat changes
Description
Refactors common code in staging functions of
unifyfs-rm.c
into ageneric_stage()
function.Motivation and Context
Addresses issue #516.
How Has This Been Tested?
Using tests 0700 and 9300 on Summit. Unfortunately, these tests fail for either
dev
or my own branch. However, @CamStan is not seeing these problems on LLNL systems.Types of changes
Checklist: