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

[FluDyn] Embedded elements - fix issue in omp #6972

Merged
merged 1 commit into from
May 29, 2020

Conversation

ddiezrod
Copy link
Contributor

Found these errors running tests in FullDebug with Windows. It seems they do not arise usually in gcc.

I think this fixes #6431
(The original error @philbucher mentioned in embedded_couette_test)

Problem is that one thread could change the mData of the node while another thread is still finding if EMBEDDED_VELOCITY was present in the mData. This explains the strange error "difference between a singular iterator to a singular iterator."

@ddiezrod ddiezrod requested a review from rubenzorrilla May 28, 2020 13:51
@ddiezrod ddiezrod self-assigned this May 28, 2020
@ddiezrod ddiezrod requested a review from philbucher May 28, 2020 13:55
@philbucher
Copy link
Member

nice catch @ddiezrod 🎉

@ddiezrod
Copy link
Contributor Author

@rubenzorrilla Is this ok for you?

@philbucher
Copy link
Member

@roigcarlo I think this should also be ported to the release branch once merged

Copy link
Member

@rubenzorrilla rubenzorrilla left a comment

Choose a reason for hiding this comment

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

Thanks for the fix (and also for the explanation).

@roigcarlo roigcarlo added this to the Release 8.0 milestone May 29, 2020
@ddiezrod ddiezrod merged commit 9266bde into master May 29, 2020
@ddiezrod ddiezrod deleted the fldyn/fix-omp-error-in-embedded-elements branch May 29, 2020 08:16
roigcarlo added a commit that referenced this pull request May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors in tests
4 participants