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

Rollback thrift to 0.13.0 #87

Merged
merged 5 commits into from
Feb 8, 2023
Merged

Rollback thrift to 0.13.0 #87

merged 5 commits into from
Feb 8, 2023

Conversation

davidhjp01
Copy link
Contributor

The latest thrift (0.17.0) is still causing a problem #36.
Rolling it back to 0.13.0 until we find a proper fix

@davidhjp01 davidhjp01 requested a review from markaren February 7, 2023 13:24
…d to match the version that `thrift` uses (which changes over time).
@davidhjp01 davidhjp01 requested a review from restenb February 8, 2023 06:33
Copy link
Member

@restenb restenb left a comment

Choose a reason for hiding this comment

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

Strange problem, it seems most likely to be with Thrift somehow. Proxyfmu doesn't do much during a simulation except call get_X, set_X and do_step.

I guess there could be a problem with one of those - perhaps these asserts:

assert(values.size() == vr.size());

but then the caller would have to suddenly send in an incorrectly sized vector.

We could probably isolate the problem by introducing logging in each get_X and do_step function. A good time to do a toggleable debug log PR perhaps?

@davidhjp01 davidhjp01 merged commit 93cecf9 into master Feb 8, 2023
@davidhjp01 davidhjp01 deleted the thrift-issue branch February 8, 2023 12:55
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.

3 participants