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

Differently ordered prints #45

Open
shuchitak opened this issue Sep 19, 2024 · 0 comments
Open

Differently ordered prints #45

shuchitak opened this issue Sep 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shuchitak
Copy link
Contributor

When both the xsim .xe and sim threads are printing to stdout, the order of prints that show up after the do_run_pyxsim() process joins, is different on MacOS and Linux.

On MacOS, the prints from the xsim thread are printed before the prints from the sim thread. On Linux the prints show up interleaved, in the order in which they were printed.

As a workaround, Pyxsim.testers.AssertiveComparisonTester() needs to be run with ordered = False if the same golden reference .expect file needs to match outputs generated when running on MacOS or Linux.

@shuchitak shuchitak added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant