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

Regression Test with Visual Studio #335

Closed
1fr9 opened this issue Sep 23, 2019 · 8 comments
Closed

Regression Test with Visual Studio #335

1fr9 opened this issue Sep 23, 2019 · 8 comments

Comments

@1fr9
Copy link

1fr9 commented Sep 23, 2019

Hi everyone,

first of all I am complete new on github, so please forgive me if I make some mistakes.

Windows x64
Visual Studio 2015 Community
Intel Parallel Studio XE 2017
Python 3.7

I try to run the regression test with Visual Studio 2015 using the documentation (https://openfast.readthedocs.io/en/dev/source/testing/regression_test_windows.html) but some tests fail.
image
After some research I tried to plot the results according to #260 but none of them passed.

Any hints or possible solutions for my problem?

Thank you.

@rafmudaf
Copy link
Collaborator

If none of the tests pass when you try to plot, its likely you don't have numpy or matplotlib installed. As for the failing cases without plotting, the manual regression test script does not execute the linearization cases (any with Linear in the name) so they are marked as failing.

This is a documentation bug but it has been updated in my fork and will be included in the main OpenFAST repo soon.

@manmathan299
Copy link

Hi, I am complete new on github so please ignore mistakes
after with unsuccessful attempt of openfast install in windows with cmake and cygwin
64

I managed to install OpenFAST with Visual Studio using Windows 10. Then I´ve been trying to compile the regression test following the OpenFast documentation, but when I make the target to regression test I´m getting this error message:
regression
how can i rectify this

@rafmudaf
Copy link
Collaborator

As mentioned in the comment above, make sure that you have the proper dependencies. In this case, you don't have numpy installed. The required packages are listed in the docs here: https://openfast.readthedocs.io/en/master/source/testing/regression_test.html#dependencies.

@manmathan299
Copy link

how can i install numpy...as of now

@manmathan299
Copy link

hai i have fixed the issue (installed numpy)....the regression test shows the following results
regtest
how can i make the other tests to pass....but i am using ITI Barge (test22) got passed so i can proceed further

@manmathan299
Copy link

However, When I try to generate plots using the command you provided

python3 manualRegressionTest.py ..\build\openfast_x64_Double.exe Windows Intel 1e-5 -n -p

FOR ISSUE 260# simply fails and I Got the following errors
plotfail

no plots are generated. i am using python 3.7 with installed matplotlib

@manmathan299
Copy link

how can i rectify this,,,,kindly help me

@rafmudaf
Copy link
Collaborator

rafmudaf commented Oct 3, 2019

@manmathan299 run a single case with the verbose flag on to try to get some more information regarding your error. This is all driven through Python so you should get a descriptive error message to guide you in searching the internet for a solution.

Here's the command to run a single test case with the verbose flag:

python3 manualRegressionTest.py ..\build\openfast_x64_Double.exe Windows Intel 1e-5 -n -p -v -case AWT_YFix_WSt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants