Skip to content

Update turbomachinery testcases and regression tests - #2158

Merged
alecappiello merged 25 commits into
su2code:developfrom
alecappiello:develop
Apr 2, 2024
Merged

Update turbomachinery testcases and regression tests#2158
alecappiello merged 25 commits into
su2code:developfrom
alecappiello:develop

Conversation

@alecappiello

@alecappiello alecappiello commented Nov 3, 2023

Copy link
Copy Markdown
Contributor

Proposed Changes

I just added a new folder in the Turbomachinery test cases, containing the configuration files for the Aachen turbine test case

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • 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.

@pcarruscag

Copy link
Copy Markdown
Member

Hi Ale, can you add the mesh (from the workshop I presume) to the Testcases repo with a restart file and then use that to run a coupled iterations for regression testing? We may need to wait for the turbo outputs PR

@alecappiello

Copy link
Copy Markdown
Contributor Author

Hi Ale, can you add the mesh (from the workshop I presume) to the Testcases repo with a restart file and then use that to run a coupled iterations for regression testing? We may need to wait for the turbo outputs PR

Hi Pedro, I'm adding them now.
Yes, configs and mesh are from the tutorial, although I slightly amended the config to make it work with develop (just one config input commented), so that we don't need to wait for that PR. In fact, I added the folder to develop.

For the regresstion testing (sorry for the silly question, I'm a bit of a novice), is it enough to run the single test case or should I do the proper regression test with provided python script?

@pcarruscag

Copy link
Copy Markdown
Member

Look for Jones_tc_restart in parallel_regression.py and that should help you set up the regression.

@alecappiello

Copy link
Copy Markdown
Contributor Author

Look for Jones_tc_restart in parallel_regression.py and that should help you set up the regression.

Thanks for tip!
I've realized that my mesh file is too big to be uploaded as is (about 120 MB). I'll need to make a smaller one, but it'll take me a bit.

@alecappiello

Copy link
Copy Markdown
Contributor Author

Hi Pedro, I added the regresion tests, and mesh and restart to the Testcases repo (for which I opened a pull request)

@joshkellyjak joshkellyjak changed the title Develop Update turbomachinery testcases and regression tests Nov 8, 2023
Comment thread TestCases/turbomachinery/Aachen_turbine/aachen_3D_MP.cfg Outdated
@alecappiello alecappiello added documentation Testcase Pull request that introduces a new testcase and removed documentation labels Nov 10, 2023
A Cappiello and others added 9 commits November 28, 2023 17:05
Adding supporting comment to TURBO_PERF_KIND keyword

Co-authored-by: Josh Kelly <81244680+joshkellyjak@users.noreply.github.com>
adding TURBO_PERF_KIND
Update residuals in serial regression
Update residual values in parallel regression test
Comment thread TestCases/turbomachinery/Aachen_turbine/aachen_3D_MP_restart.cfg Outdated
Comment thread TestCases/parallel_regression.py
Removing unused Cauchy convergence criterion
@alecappiello

alecappiello commented Mar 15, 2024

Copy link
Copy Markdown
Contributor Author

Hi @pcarruscag and @joshkellyjak, the parallel and serial regression tests are successful, but the tsan tests keep failing.
Josh suggested it could be related to the submodules, which I managed to update locally. Though I can't find a way to push it to the fork.
Do you guys have any suggestion?

@pcarruscag

Copy link
Copy Markdown
Member

@jblueh are the tsan tests using a special version of CoDi?

Note: switching to 'refs/pull/2158/merge'.

You are in 'detached HEAD' state. You can look around, make experimental
M	externals/codi

Does it need some kind of update?

@pcarruscag

Copy link
Copy Markdown
Member

This branch was green just a couple of day ago https://github.com/su2code/SU2/actions/runs/8264374345

Comment thread TestCases/turbomachinery/Aachen_turbine/aachen_3D_MP.cfg Outdated
Comment thread TestCases/turbomachinery/Aachen_turbine/aachen_3D_MP.cfg Outdated
Comment thread TestCases/turbomachinery/Aachen_turbine/aachen_3D_MP.cfg Outdated
@jblueh

jblueh commented Mar 15, 2024

Copy link
Copy Markdown
Contributor

@jblueh are the tsan tests using a special version of CoDi?

Note: switching to 'refs/pull/2158/merge'.

You are in 'detached HEAD' state. You can look around, make experimental
M	externals/codi

Does it need some kind of update?

No, CoDi should be fine. Tsan does not need a special version of CoDi and the correct commit is checked out a couple of lines below the quoted ones. Tsan is failing in other PRs, too. There seems to be a general issue with tsan and github runners, I am looking into it right now.

Removing file version from config
Comment thread TestCases/turbomachinery/Aachen_turbine/aachen_3D_MP_restart.cfg Outdated

@pcarruscag pcarruscag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks lgtm

@jblueh

jblueh commented Mar 15, 2024

Copy link
Copy Markdown
Contributor

@alecappiello develop is updated with a fix for the thread sanitizer issue, it should fix your CI pipeline once you merge it into your branch

@alecappiello

Copy link
Copy Markdown
Contributor Author

@alecappiello develop is updated with a fix for the thread sanitizer issue, it should fix your CI pipeline once you merge it into your branch

Thanks a lot! I've just done it and tsan tests are indeed not failing anymore!

@alecappiello
alecappiello merged commit e33871a into su2code:develop Apr 2, 2024
@jblueh jblueh mentioned this pull request May 8, 2024
@jblueh jblueh mentioned this pull request May 29, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:chore Testcase Pull request that introduces a new testcase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants