Skip to content

Conversation

@willend
Copy link
Contributor

@willend willend commented Jan 12, 2026

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

Fix for rare crash of ILL_IN4 / MPI. As can be seen in e.g. https://new-nightly.mcstas.org/2026-01-06_output.html (no access to underlying sim data, sorry) ILL_IN4 crashes at times.

The underlying reason seems in principle simple:
Master is meant to write the file Dirac2D.sqw, but naturally other nodes may ‘overtake’ and attempt to load a non-existent or non-completed file…

The addition of an MPI_Barrier at the end if init seems to help - we should consider if this should be added at code-generation level instead….


  • My contribution contains something else

    • Explanation is added in free form text above or below the checklist

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.

1 participant