Skip to content

Conversation

@jblueh
Copy link
Contributor

@jblueh jblueh commented Jun 22, 2022

Proposed Changes

@maxaehle and I analyzed SU2 with gcc with the thread sanitizer enabled and fixed various race conditions both in hybrid parallel and hybrid parallel AD code.

The thread sanitizer records of the hybrid regression tests and hybrid regression AD tests are clean now.

Related Work

#1384, this PR works towards fixing it

PR Checklist

Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with the '-Wall -Wextra -Wno-unused-parameter -Wno-empty-body' compiler flags, or simply --warnlevel=2 when using meson).
  • My contribution is commented and consistent with SU2 style.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp) , if necessary.

Copy link
Member

@pcarruscag pcarruscag left a comment

Choose a reason for hiding this comment

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

Awesome, thank you for taking a deep look into these issues 👍

@TobiKattmann
Copy link
Contributor

update testcases, streamwise pin converges well Thanks for checking @pcarruscag :)

@jblueh jblueh linked an issue Jul 9, 2022 that may be closed by this pull request
@pcarruscag pcarruscag changed the title [WIP] Hybrid Parallel (AD): Fix Race Conditions Hybrid Parallel (AD): Fix Race Conditions Jul 9, 2022
@jblueh jblueh merged commit 3a9f8d6 into develop Jul 9, 2022
@jblueh jblueh deleted the fix_race_conditions branch July 9, 2022 22:32
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.

Hybrid parallel AD regression tests fail sometimes

5 participants