-
Notifications
You must be signed in to change notification settings - Fork 656
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
remove -ffast-math compiler flag #4220
Conversation
Linter Bot Results:Hi @orbeckst! Thanks for making this PR. We linted your code and found the following: There are currently no issues detected! 🎉 |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #4220 +/- ##
========================================
Coverage 93.62% 93.62%
========================================
Files 193 193
Lines 25295 25295
Branches 4063 4063
========================================
Hits 23683 23683
Misses 1096 1096
Partials 516 516 ☔ View full report in Codecov by Sentry. |
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.
Makes sense, it's probably going to have a performance impact but we've been meaning to get rid of that flag anyways.
Do we want to backport this into a 2.5.1? If so could you the move the changelog entry under a 2.5.1 and I'll make a release.
package/CHANGELOG
Outdated
* Fix AtomGroup.center_of_charge(..., unwrap=True) giving wrong | ||
results on Intel macOS by removing `-ffast-math` compiler flag | ||
(Issues #3821, #4211) |
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.
Not sure how we deal with this stuff, but is it worth adding an entry under "Changed" too?
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.
Yeah, I wasn't sure, especially now considering that @hmacdope said in #4211 (comment) that the failing test is not scientifically wrong (under PBC), just technically wrong.
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.
I updated CHANGELOG and also included @hmacdope suggestion to include the URL of the original blog post. That's a bit unusual for a CHANGELOG but in this case it's so esoteric that it seems justified and easier than having to comb through the linked issue.
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.
Could also note that we are not infectious any more https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html
Please let me know with "changes requested" what you need me to do. Sorry, I have a ton of other things to attend to and it's a lot easier just to be told what to fix than having to think hard what ought to be done. Thanks! |
Re backport #4220 (review) : given @hmacdope 's assessment that the result of the test is still scientifically valid, I don't think we need a backport as I would consider it a small reproducibility issue but not a correctness issue and we (=you @IAlibay ) can spend time on other things. But if anyone else thinks we should backport, I am of course happy to change the CHANGELOG. |
Sounds good, I think we're likely close to needing another release soon (we're at 2.2 months roughly and we're meant to have a 3 monthly cadence) so we could just say we'll release at some point in August. |
@RMeli can I please ask you to shepherd the PR to completion? |
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.
Thanks @orbeckst, LGTM
Fixes #4211 and #3821
Changes made in this Pull Request:
-ffast-math
from the compiler flags insetup.py
PR Checklist
Developers certificate of origin
📚 Documentation preview 📚: https://mdanalysis--4220.org.readthedocs.build/en/4220/