-
Notifications
You must be signed in to change notification settings - Fork 462
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
Installation and testing Question #384
Comments
Failing with such a short execution time, its likely that these cases didn't run. Possible reasons for that are that the executable isn't compiled correctly or permissions are incorrect. I recommend you do a couple of things to get more information:
Also, what happens when you try to run the executable manually? |
Hi rafmudaf, thanks very much for getting back to me.
ctest -VV -R AWT_YFix_WSt UpdateCTestConfiguration from :/home/callum/OpenFAST/openfast/build/DartConfiguration.tcl 1: Test command: /usr/bin/python3 "/home/callum/OpenFAST/openfast/reg_tests/executeOpenfastRegressionCase.py" "AWT_YFix_WSt" "/home/callum/OpenFAST/openfast/build/glue-codes/openfast/openfast" "/home/callum/OpenFAST/openfast/reg_tests/.." "/home/callum/OpenFAST/openfast/build/reg_tests/glue-codes/openfast" "0.00001" "Linux" "GNU" 0% tests passed, 1 tests failed out of 1 Label Time Summary: Total Test time (real) = 0.07 sec The following tests FAILED: Thanks again for any help. |
It looks like you are missing a prerequisite for the regressions tests with python: From the command line, try installing the missing package with |
Hi Andrew, thanks very much for the comment, that seems to have sorted it. I'm only getting 4 failed tests now: ctest -j8 89% tests passed, 4 tests failed out of 37 Label Time Summary: Total Test time (real) = 1592.43 sec The following tests FAILED: I'm new to OpenFAST (obviously), what would be the proceedure for checking the 4 failed tests? Thanks alot for the advice, Cheers |
It is fairly common for those tests cases to appear to fail. They are more sensitive to numerical roundoff than some of the other cases. So if you a happen to use a different compiler, or different set of math libraries, or happen to have a different chipset than the baseline was generated on, those particular cases may show enough difference that they get flagged as failing. Since it will be very difficult to align your system and hardware with the ones used at NREL so that all of your test cases pass, we recommend you plot the errors and verify that there's nothing significantly different (you may need to run |
That's great, thanks very much for your help Andrew I really appreciate it! All the best, |
Hi users and developers,
I'm new to Linux and OpenFAST and I'm experiencing some issues with installation and testing. I require OpenFAST for my PhD research to couple with SOWFA. At present I'm trying to install on my HPC running ubuntu 18.04.
From a clean install of ubuntu 18.04 the steps I have followed are:
sudo apt update
sudo apt upgrade
sudo apt install gcc gfortran cmake libblas-dev liblapack-dev libxml2-dev libhdf5-serial-dev libyaml-cpp-dev
mkdir OpenFAST && cd OpenFAST
git clone --recursive https://github.com/OpenFAST/openfast.git
cd openfast/
git checkout dev
git submodule update
mkdir build install && cd build
cmake .. -DBUILD_TESTING=ON
make install
ctest
The results of ctest are:
Test project /home//OpenFAST/openfast/build
Start 1: AWT_YFix_WSt
1/37 Test #1: AWT_YFix_WSt .............................***Failed 0.07 sec
Start 2: AWT_WSt_StartUp_HighSpShutDown
2/37 Test #2: AWT_WSt_StartUp_HighSpShutDown ...........***Failed 0.07 sec
Start 3: AWT_YFree_WSt
3/37 Test #3: AWT_YFree_WSt ............................***Failed 0.07 sec
Start 4: AWT_YFree_WTurb
4/37 Test #4: AWT_YFree_WTurb ..........................***Failed 0.07 sec
Start 5: AWT_WSt_StartUpShutDown
5/37 Test #5: AWT_WSt_StartUpShutDown ..................***Failed 0.07 sec
Start 6: AOC_WSt
6/37 Test #6: AOC_WSt ..................................***Failed 0.07 sec
Start 7: AOC_YFree_WTurb
7/37 Test #7: AOC_YFree_WTurb ..........................***Failed 0.07 sec
Start 8: AOC_YFix_WSt
8/37 Test #8: AOC_YFix_WSt .............................***Failed 0.07 sec
Start 9: UAE_Dnwind_YRamp_WSt
9/37 Test #9: UAE_Dnwind_YRamp_WSt .....................***Failed 0.07 sec
Start 10: UAE_Upwind_Rigid_WRamp_PwrCurve
10/37 Test #10: UAE_Upwind_Rigid_WRamp_PwrCurve ..........***Failed 0.07 sec
Start 11: WP_VSP_WTurb_PitchFail
11/37 Test #11: WP_VSP_WTurb_PitchFail ...................***Failed 0.07 sec
Start 12: WP_VSP_ECD
12/37 Test #12: WP_VSP_ECD ...............................***Failed 0.08 sec
Start 13: WP_VSP_WTurb
13/37 Test #13: WP_VSP_WTurb .............................***Failed 0.07 sec
Start 14: SWRT_YFree_VS_EDG01
14/37 Test #14: SWRT_YFree_VS_EDG01 ......................***Failed 0.07 sec
Start 15: SWRT_YFree_VS_EDC01
15/37 Test #15: SWRT_YFree_VS_EDC01 ......................***Failed 0.08 sec
Start 16: SWRT_YFree_VS_WTurb
16/37 Test #16: SWRT_YFree_VS_WTurb ......................***Failed 0.08 sec
Start 17: 5MW_Land_DLL_WTurb
17/37 Test #17: 5MW_Land_DLL_WTurb .......................***Failed 0.08 sec
Start 18: 5MW_OC3Mnpl_DLL_WTurb_WavesIrr
18/37 Test #18: 5MW_OC3Mnpl_DLL_WTurb_WavesIrr ...........***Failed 0.07 sec
Start 19: 5MW_OC3Trpd_DLL_WSt_WavesReg
19/37 Test #19: 5MW_OC3Trpd_DLL_WSt_WavesReg .............***Failed 0.08 sec
Start 20: 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
20/37 Test #20: 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth ...***Failed 0.08 sec
Start 21: 5MW_ITIBarge_DLL_WTurb_WavesIrr
21/37 Test #21: 5MW_ITIBarge_DLL_WTurb_WavesIrr ..........***Failed 0.07 sec
Start 22: 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti
22/37 Test #22: 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti ....***Failed 0.07 sec
Start 23: 5MW_OC3Spar_DLL_WTurb_WavesIrr
23/37 Test #23: 5MW_OC3Spar_DLL_WTurb_WavesIrr ...........***Failed 0.07 sec
Start 24: 5MW_OC4Semi_WSt_WavesWN
24/37 Test #24: 5MW_OC4Semi_WSt_WavesWN ..................***Failed 0.07 sec
Start 25: 5MW_Land_BD_DLL_WTurb
25/37 Test #25: 5MW_Land_BD_DLL_WTurb ....................***Failed 0.07 sec
Start 26: WP_Stationary_Linear
26/37 Test #26: WP_Stationary_Linear .....................***Failed 0.07 sec
Start 27: Ideal_Beam_Fixed_Free_Linear
27/37 Test #27: Ideal_Beam_Fixed_Free_Linear .............***Failed 0.08 sec
Start 28: Ideal_Beam_Free_Free_Linear
28/37 Test #28: Ideal_Beam_Free_Free_Linear ..............***Failed 0.08 sec
Start 29: 5MW_Land_BD_Linear
29/37 Test #29: 5MW_Land_BD_Linear .......................***Failed 0.08 sec
Start 30: bd_5MW_dynamic
30/37 Test #30: bd_5MW_dynamic ...........................***Failed 0.07 sec
Start 31: bd_5MW_dynamic_gravity_Az00
31/37 Test #31: bd_5MW_dynamic_gravity_Az00 ..............***Failed 0.07 sec
Start 32: bd_5MW_dynamic_gravity_Az90
32/37 Test #32: bd_5MW_dynamic_gravity_Az90 ..............***Failed 0.07 sec
Start 33: bd_curved_beam
33/37 Test #33: bd_curved_beam ...........................***Failed 0.07 sec
Start 34: bd_isotropic_rollup
34/37 Test #34: bd_isotropic_rollup ......................***Failed 0.08 sec
Start 35: bd_static_cantilever_beam
35/37 Test #35: bd_static_cantilever_beam ................***Failed 0.07 sec
Start 36: bd_static_twisted_with_k1
36/37 Test #36: bd_static_twisted_with_k1 ................***Failed 0.07 sec
Start 37: beamdyn_utest
37/37 Test #37: beamdyn_utest ............................ Passed 0.00 sec
3% tests passed, 36 tests failed out of 37
Label Time Summary:
aerodyn14 = 0.51 secproc (7 tests)
aerodyn15 = 1.41 secproc (19 tests)
beamdyn = 0.84 secproc (11 tests)
dynamic = 0.22 secproc (3 tests)
elastodyn = 1.85 secproc (25 tests)
hydrodyn = 0.52 secproc (7 tests)
linear = 0.31 secproc (4 tests)
map = 0.22 secproc (3 tests)
moordyn = 0.07 secproc (1 test)
openfast = 2.16 secproc (29 tests)
servodyn = 1.93 secproc (26 tests)
static = 0.30 secproc (4 tests)
subdyn = 0.23 sec*proc (3 tests)
Total Test time (real) = 2.70 sec
The following tests FAILED:
1 - AWT_YFix_WSt (Failed)
2 - AWT_WSt_StartUp_HighSpShutDown (Failed)
3 - AWT_YFree_WSt (Failed)
4 - AWT_YFree_WTurb (Failed)
5 - AWT_WSt_StartUpShutDown (Failed)
6 - AOC_WSt (Failed)
7 - AOC_YFree_WTurb (Failed)
8 - AOC_YFix_WSt (Failed)
9 - UAE_Dnwind_YRamp_WSt (Failed)
10 - UAE_Upwind_Rigid_WRamp_PwrCurve (Failed)
11 - WP_VSP_WTurb_PitchFail (Failed)
12 - WP_VSP_ECD (Failed)
13 - WP_VSP_WTurb (Failed)
14 - SWRT_YFree_VS_EDG01 (Failed)
15 - SWRT_YFree_VS_EDC01 (Failed)
16 - SWRT_YFree_VS_WTurb (Failed)
17 - 5MW_Land_DLL_WTurb (Failed)
18 - 5MW_OC3Mnpl_DLL_WTurb_WavesIrr (Failed)
19 - 5MW_OC3Trpd_DLL_WSt_WavesReg (Failed)
20 - 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth (Failed)
21 - 5MW_ITIBarge_DLL_WTurb_WavesIrr (Failed)
22 - 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti (Failed)
23 - 5MW_OC3Spar_DLL_WTurb_WavesIrr (Failed)
24 - 5MW_OC4Semi_WSt_WavesWN (Failed)
25 - 5MW_Land_BD_DLL_WTurb (Failed)
26 - WP_Stationary_Linear (Failed)
27 - Ideal_Beam_Fixed_Free_Linear (Failed)
28 - Ideal_Beam_Free_Free_Linear (Failed)
29 - 5MW_Land_BD_Linear (Failed)
30 - bd_5MW_dynamic (Failed)
31 - bd_5MW_dynamic_gravity_Az00 (Failed)
32 - bd_5MW_dynamic_gravity_Az90 (Failed)
33 - bd_curved_beam (Failed)
34 - bd_isotropic_rollup (Failed)
35 - bd_static_cantilever_beam (Failed)
36 - bd_static_twisted_with_k1 (Failed)
Errors while running CTest
I'd appreciate some support on the reason for the failed tests?
Cheers,
Callum
The text was updated successfully, but these errors were encountered: