SU2
SU2 copied to clipboard
Update turbomachinery testcases and regression tests
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.
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 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?
Look for Jones_tc_restart in parallel_regression.py and that should help you set up the regression.
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.
Hi Pedro, I added the regresion tests, and mesh and restart to the Testcases
repo (for which I opened a pull request)
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?
@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?
This branch was green just a couple of day ago https://github.com/su2code/SU2/actions/runs/8264374345
@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.
@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 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!