-
Notifications
You must be signed in to change notification settings - Fork 1
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
#482: Improve and complete JSON writing #483
Conversation
I've found a bug in the code--putting in draft until I fix it Update: fixed |
"""Assign any extraneous parameters.""" | ||
self.__unused_params = unused_params | ||
|
||
def get_unused_params(self) -> dict: |
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.
Due to the way we dynamically get all Object QOI, this will now list unused_params
as a QOI
3ee28b7
to
9781956
Compare
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.
Good , especially with unit test. Thanks
9d69b6c
to
c9fb79f
Compare
I am reworking the unit test to use multi-phase data generated by vt |
I'm running into an issue with assigning communication dicts to the correct rank. Originally, I was pairing communications with ranks by checking to see which object the comm is from ( However, it seems like a lot of these communications are sent from |
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.
These are good changes.
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.
Looks good otherwise. I have tested it as well.
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.
Sorry @lifflander @pierrepebay I inadvertently requested a new review from everyone albeit only one from me was needed. Please ignore the new request.
* #482: write out unused params, subphases, and beginnings of communications * #482: use mp manager to use dicts and lists correctly * #482: add if statements and fix failing tests * #482: add unit test for communications data * #482: clean up * #482: add flexibilty for multiple phases * #482: add output folder for communications test * #482: finalize code, fix failing tests * #482: add new test data and work on supporting multiple phases * #482: fix multi-phase test, deprecate -1 option * #482: remove print statements and imbalance.txt * #482: fix failing test * #482: add extra if statement to guard against inconsistent inputs * #482: remove unused function
Fixes #482
This PR also deprecates the
-1
option (to balance all phases). If no phase is specified, it defaults to balancing phase 0.