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

Merge OpenFAST/dev + HD/SeaSt code cleanup #5

Merged
merged 55 commits into from
Aug 30, 2022

Conversation

bjonkman
Copy link

  • Merged OpenFAST/dev
  • udpated some error handling (fixed potential memory leaks)

rafmudaf and others added 30 commits August 1, 2022 16:22
Allows to run the regression tests without running the simulations. This is useful for testing the regression test infrastructure itself. The option already existed in the reg test scripts, but it was not connected to CTest.
These test cases are too sensitive to be used reliably for software testing
The function to determine the passing channels was incorrectly using a global minimum instead of channel minimum to determine the absolutel tolerance.
- Copy input files needed for HydroDyn test cases (some files are stored in the glue-codes directory, so it will error if module is tested before glue-code is)
- Return the completion code if a simulation did not run to the end (as opposed to comparing old results with no clear indication that the results are old)
- fix missing variable in `executePythonRegressionCase.py`
- if test_data and baseline_data are not the same size, return NaNs. We don't currently have a way to test if any of the columns are the same.
- summary HTML file now contains columns for `Completion Code` and a link to the `.log` file containing screen output when the case ran (helpful for debugging)
- fixed the issue where a blank line was printed to the screen for every line read in a ascii output file
- fixed issue where specifying `-p` wouldn't generate plots but `-p=true` would (at least on my system)
- make source directory an absolute path to fix issue when scripts to run module drivers change the working directory
- add a `-module` optional argument to `manualRegressionTest.py` to allow it to execute the driver regression tests
Consolidate regression test baseline set
- Bokeh must be at least v2.4
- executeSeaStateRegressionCase.py has same changes as other module scripts that were changed in dev
- manual test uses same keywords/arguments as execute*RegressionCase.py scripts
bjonkman and others added 25 commits August 23, 2022 09:14
…t channels

this still doesn't check that the outputs are in the same order, so we could be comparing different channels against each other....
…t channels

this still doesn't check that the outputs are in the same order, so we could be comparing different channels against each other....
Test case OpenFAST#1217 included test case hd_5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth, but the dev branch on r-test did not include this.  In the previous commit, I mistakenly changed to OpenFAST/dev pointer to point to the r-test/dev which did not include the case.  This effectively removed it.  This commit along with the commit on r-test/dev puts this case back into the regression test suite.
This was causing issues with the M1 chipset on the MBPs
…-rtest

r-test: Remove -m64 in CMAKE_Fortran_FLAG from r-test
Improvements to regression test python scripts
Seg Fault due to hub model and external inflow
attempt to make them consistent and able to be changed with a single variable
- cleanup up some error handling and potential memory leaks
- fix issue where 4D data is ALWAYS copied to 3D
@luwang00 luwang00 merged commit 5210163 into luwang00:dev Aug 30, 2022
luwang00 pushed a commit that referenced this pull request Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants