weird rosetta behaviour of `DragLocks`
Summary
DragLocks
seems to behave slightly differently depending on whether I am running finesse3 on native or rosetta. I am on an M1 macbook building and running finesse3 under rosetta and the same file has DragLocks
hit a recursion limit error while without rosetta it completes successfully.
Steps to reproduce
Run the attached lock_actions_rst.py
on the latest finesse3 development build 3.0a6.dev45+g959edbf6.d20230201
on M1 rosetta.
Bug behavior
See the attached lock_actions_rst_trace.txt
. I have increased the precision of the progress printing in https://gitlab.com/ifosim/finesse/finesse3/-/blob/develop/src/finesse/analysis/actions/locks.py#L629 by changing "4.3e" to "4.20e". Mischa also did the same change on his Linux machine so that we could compare the exact digits of the parameters during the log dragging. After the 3rd or 4th step log dragging step the values began to drift between our machines.
What is the expected correct behavior?
For lock dragging to not behave differently under rosetta
Relevant logs and/or screenshots
Ran pytest
just to be sure and nothing seems to be obviously wrong
Labels
Please assign labels to the issue by uncommenting approiate lines:
Reproducing the bug
If cannot reproduce the bug comment out the first line and uncomment the second.
Area of the bug
If possible label the area the bug is occuring in: - Packaging (you can only use one) - Build system - Documentation - Parser (of the KatScript) Use Parser::legacy if you are parsing legacy files - Plotting - Testing (for issues with the automated tests) - User interface
Operating system
Add a label for the operating system you are using Finesse on.
Urgency
If the bug is preventing Finesse from being used, for example if it produces seemingly valid but incorrect results, add this label.