SU2 icon indicating copy to clipboard operation
SU2 copied to clipboard

Update turbomachinery testcases and regression tests

Open alecappiello opened this issue 1 year ago • 5 comments

Proposed Changes

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

  • [X] I am submitting my contribution to the develop branch.
  • [X] My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • [x] 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.
  • [x] I have added a test case that demonstrates my contribution, if necessary.
  • [x] I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

alecappiello avatar Nov 03 '23 13:11 alecappiello

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

pcarruscag avatar Nov 03 '23 14:11 pcarruscag

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?

alecappiello avatar Nov 03 '23 14:11 alecappiello

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

pcarruscag avatar Nov 03 '23 15:11 pcarruscag

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 avatar Nov 03 '23 17:11 alecappiello

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

alecappiello avatar Nov 06 '23 14:11 alecappiello

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?

alecappiello avatar Mar 15 '24 08:03 alecappiello

@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 avatar Mar 15 '24 10:03 pcarruscag

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

pcarruscag avatar Mar 15 '24 10:03 pcarruscag

@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.

jblueh avatar Mar 15 '24 12:03 jblueh

@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

jblueh avatar Mar 15 '24 20:03 jblueh

@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 avatar Mar 18 '24 09:03 alecappiello