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
OpenFAST Errors occur after installation #566
Comments
then after reading other issues, I try to solve and still got 8 errors and 39 warnings Severity Code Description Project File Line Suppression State |
Hi, Once you have them, give it a try again with compiling FAST Good luck! Oh, also on Linux, once you install these packages you have to feed their path to the compiler, it's described on Intel page |
@Wichuda-m Is it a requirement that you need to compile OpenFAST yourself? If not, you can simply download binaries for Windows or install with conda on Linux (i.e. using the Window's Subsystem for Linux - WSL). See the download section of the docs. |
Thank you every one, actually I use macOS but seems Windows is easier to build OpenFAST, so I try to install it on Bootcamp (I might have misunderstanding). I'll try to fix it as your suggestions ^^ |
This is exactly opposite: with CMake, it is much easier to compile OpenFAST for Linux and macOS using completely open-source and free libraries. Since you're using macOS, I suggest installing Homebrew as a package manager and then install CMake and gcc (this includes gfortran). After that, follow this section of the installation instructions. Finally, I'll point out again that if you are not making code changes to OpenFAST, there is no need to compile the software prior to using it. The version available through conda (macOS and Linux) or the release page (Windows) correspond to the latest "master" branch. |
I'm here got errors while running CTest (my programming skills = 0) thank you for your help @rafmudaf |
Almost there! It looks like your test files are missing git checkout dev they change your branch to developers, where there are some more functionalities but I'm not sure the testing suite is included, just skip them If you think you've compiled the OpenFAST part all right and the test is messed up, try going into one of the test simulations folder directly and run FAST on the ROOTNAME.fst file
Also remember to compile the controllers! good luck! |
@bartoszstachowicz thank you ^^ I did type --recursive but didn't work so I type "git submodule update --init --recursive" https://openfast.readthedocs.io/en/master/source/testing/index.html now I accidentally close terminal where I used installing OpenFAST, finding way to reopen again, any suggestion? |
GOt zoom? I could give it a go if you want write me an email if so, otherwise if you won't need to modify the code, maybe @rafmudaf is right and it's worth a try installing with conda I installed some other software with it and it works pretty well, up to you good luck |
@bartoszstachowicz thank you , I don't want to modify code now ( my skill is zero) should I try to install wth conda next? I don't download it yet. |
well, it could be easier, install miniconda and try to fire this package from here, I think: |
Try following your command with this:
it should output a log file to desktop and then see if you can identify these conflicts there, there should be info on missing packages and such |
hello, all Error reported by S-function 'FAST_SFunc' in 'OpenLoop/FAST Nonlinear Wind Turbine/S-Function': |
@Xiangheng-Feng waiting for @rafmudaf and @bartoszstachowicz for answers For me, here struggling and waiting for their help either ^^ |
:D |
@bartoszstachowicz thank you for taking the time to respond with helpful comments. @Wichuda-m I'm not sure why there would be conflicting dependencies in conda, but one thing to consider is that you should generally create a new conda environment for each distinct project. This is not specific to OpenFAST, but just general best practice with conda. So you should try something like this: conda create -n openfast
conda install openfast -c conda-forge
which openfast |
Hi! @rafmudaf thank you, not sure if this succeed? (base) wichudamunbua@MacBook-Pro-khxng-Wichuda ~ % conda update -n base -c defaults conda Package Planenvironment location: /Users/wichudamunbua/opt/anaconda3 added / updated specs: The following packages will be downloaded:
The following packages will be UPDATED: conda 4.8.3-py38_0 --> 4.8.5-py38_0 Proceed ([y]/n)? y Downloading and Extracting Packages Collecting package metadata (current_repodata.json): done Package Planenvironment location: /Users/wichudamunbua/opt/anaconda3/envs/openfast Proceed ([y]/n)? y Preparing transaction: done To activate this environment, use$ conda activate openfastTo deactivate an active environment, use$ conda deactivate(base) wichudamunbua@MacBook-Pro-khxng-Wichuda ~ % conda activate openfast Package Planenvironment location: /Users/wichudamunbua/opt/anaconda3/envs/openfast added / updated specs: The following packages will be downloaded:
The following NEW packages will be INSTALLED: libblas conda-forge/osx-64::libblas-3.8.0-17_openblas Proceed ([y]/n)? y Downloading and Extracting Packages |
That's it, you have now installed OpenFAST. |
Thank you very much @rafmudaf how about errors while running CTest? I got 42 errors |
Like @bartoszstachowicz mentioned, it looks like your output here is somewhat incomplete so its hard to determine the state of your repository. I suggest starting over cloning OpenFAST or r-test and follow the documentation here: https://openfast.readthedocs.io/en/master/source/testing/regression_test.html#python-driver. |
This part of #566 (comment) is key here. You can simply download the test cases and run a single test. If you aren't making changes to OpenFAST, don't worry about the result of the tests. At this point, you only need to verify that the test cases run, not whether the output is exactly the same (though it really should be). Try running the AWT or AOC cases. |
Oh, so you've installed it all right!
Well done
…________________________________
From: Wichuda <notifications@github.com>
Sent: Thursday, October 15, 2020 7:46 AM
To: OpenFAST/openfast <openfast@noreply.github.com>
Cc: bartoszstachowicz <stachstach@hotmail.co.uk>; Mention <mention@noreply.github.com>
Subject: Re: [OpenFAST/openfast] OpenFAST Errors occur after installation (#566)
Here, I've run openfast -v and openfast -h. Now try to solve running test
[Screen Shot 2020-10-15 at 16 43 25]<https://user-images.githubusercontent.com/72775437/96092226-8d9c0e80-0f05-11eb-9b84-3d2e6de3e917.png>
[Screen Shot 2020-10-15 at 16 44 34]<https://user-images.githubusercontent.com/72775437/96092345-b7553580-0f05-11eb-8e93-504940cb9c31.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#566 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQIBICJ4FBXXOB3BOW7U6PDSK2SFHANCNFSM4SOGO7TA>.
|
@bartoszstachowicz thank you ^^ Now I'm trying to figure out errors from running test |
@bartoszstachowicz I'd like to say thank you very very much for your generously help today, thank you ^^ |
no worries @Wichuda Munbua
now, that you've installed the program, check the forum for troubleshooting and a lot of useful information
https://wind.nrel.gov/forum/wind/
read the instructions in the first thread carefully!
Good luck with your project,
BS
…________________________________
From: Wichuda <notifications@github.com>
Sent: Thursday, October 15, 2020 2:58 PM
To: OpenFAST/openfast <openfast@noreply.github.com>
Cc: bartoszstachowicz <stachstach@hotmail.co.uk>; Mention <mention@noreply.github.com>
Subject: Re: [OpenFAST/openfast] OpenFAST Errors occur after installation (#566)
@bartoszstachowicz<https://github.com/bartoszstachowicz> I'd like to say thank you very very much for your generously help today, thank you ^^
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#566 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQIBICM64BLDUO42XP4BJ4LSK4EYLANCNFSM4SOGO7TA>.
|
Hi,
If the report you attached is from your unsuccessful OpenFAST run, than it says it at the bottom what error you’ve encountered. The DISCON.dll control logic dynamic library is missing. I guess you must have forgotten to build it. The procedure to do it is described in the OpenFAST documentation on readthedocs. I’m sure you’ll be able to find this easily by typing discon into search bar. And once this is done, please check if your path is set correctly in the PROJECTNAME_ServoDyn.dat file.
Always read the errors. And look for errors on the NREL forum, this will save you a lot of frustration. And will let you learn more about the code too.
Also the series of errors you have at the beginning of your initialization suggests there is a problem with your input files. Ah and the
OpenFAST-HEAD-HASH-NOTFOUND
Is weird also. Means it can’t find the software build.
May be a good idea to clone another copy of the whole OpenFAST repository in a new folder, update all your dependancies like gcc, lapack, fortran etc. and compile again using exactly the recommendations on read the docs.
I only installed Linux system to be able to run OpenFAST this spring because I had trouble installing on Windows. If this is the case for you, it is worth to abandon this approach. After some time I managed to install on windows without problems simply by following the instructions v carefully. This gives you the possibility to use Simulink interface for the controls and some Matlab tools prepared by the authors, like for generating graphs and so on…
Good luck
From: HYFOAM<mailto:notifications@github.com>
Sent: Sunday, November 29, 2020 6:31 PM
To: OpenFAST/openfast<mailto:openfast@noreply.github.com>
Cc: bartoszstachowicz<mailto:stachstach@hotmail.co.uk>; Mention<mailto:mention@noreply.github.com>
Subject: Re: [OpenFAST/openfast] OpenFAST Errors occur after installation (#566)
@bartoszstachowicz<https://github.com/bartoszstachowicz> hi
I installed openfast correctly on linux. After installation, the OpenFAST/reg_tests/r-test/glue-codes/openfast/AWT_WSt_StartUpShutDown calculation example was run and the correct output results were obtained. But when I run
An error occurred during the calculation in /OpenFAST/reg_tests/r-test/glue-codes/openfast/5MW_Land_BD_DLL_WTurb.
Seems to tell me there is a problem with initialization. I need your help.
OpenFAST
Copyright (C) 2020 National Renewable Energy Laboratory
Copyright (C) 2020 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.
OpenFAST-HEAD-HASH-NOTFOUND
Compile Info:
* Compiler: GCC version 7.5.0
* Architecture: 64 bit
* Precision: double
* Date: Nov 24 2020
* Time: 22:35:15
Execution Info:
* Date: 11/30/2020
* Time: 01:24:18+0800
OpenFAST input file heading:
FAST Certification Test #26<#26>: NREL 5.0 MW Baseline Wind Turbine (Onshore)
Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running BeamDyn.
Nodal outputs section of BeamDyn input file not found or improperly formatted.
Running BeamDyn.
Nodal outputs section of BeamDyn input file not found or improperly formatted.
Running BeamDyn.
Nodal outputs section of BeamDyn input file not found or improperly formatted.
Running AeroDyn.
Nodal output section of AeroDyn input file not found or improperly formatted.
Running BEM.
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 3
Running InflowWind.
Reading a 31x31 grid (145 m wide, 17.5 m to 162.5 m above ground) with a characteristic wind
speed of 12 m/s. This full-field file was generated by TurbSim (v1.06.00, 21-Sep-2012) on
07-Jan-2014 at 12:50:45.
Processed 1442 time steps of 20-Hz full-field data (72.05 seconds).
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers.
FAST_InitializeAll:SrvD_Init:BladedInterface_Init:The dynamic library
./../5MW_Baseline/ServoData/DISCON.dll could not be loaded. Check that the file exists in the
specified location and that it is compiled for 64-bit applications.
FAST encountered an error during module initialization.
Simulation error level: FATAL ERROR
Aborting OpenFAST.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#566 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AQIBICNPLQQDDHYHAJW3NNDSSKANRANCNFSM4SOGO7TA>.
|
How do I use simulink with conda installation? I am able to simulate my own design but I would like to use pitch controller from simulink. I've been looking through github but other than compiling with VS I didn't find how can I use it with conda installation. |
Simulink integration is not yet supported with the Conda installation. |
I understand thank you. I will try and compile with VS. |
Hi everyone, I'm very new user of OpenFAST and a first year doctoral student.
I've just finished installation as https://openfast.readthedocs.io/en/master/source/install/install_vs_windows.html
every thing work well until 2.2.3.1.2. Compiling OpenFAST, N.6 build> build solution I got 33 errors and 14 warnings.
My programming skills is very low so that I need your help. Thank you very much
Severity Code Description Project File Line Suppression State
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 47
Error Compilation Aborted (code 1) C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 1
Error error #7002: Error in opening the compiled module file. Check INCLUDE paths. [FAST_SUBS] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 34
Error error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [DBKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 39
Error error #6975: A kind-param must be a digit-string or a scalar-int-constant-name. [DBKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 39
Error error #6683: A kind type parameter must be a compile-time constant. [DBKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 39
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 40
Error error #6457: This derived type name has not been declared. [FAST_TURBINETYPE] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 43
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 45
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 46
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 54
Error error #6404: This name does not have a type, and must have an explicit type. [PROGNAME] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 61
Error error #6632: Keyword arguments are invalid without an explicit interface. [ARG2] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 65
Error error #6632: Keyword arguments are invalid without an explicit interface. [FLAG] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 65
Error error #6404: This name does not have a type, and must have an explicit type. [TURBINE] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 68
Error error #6632: Keyword arguments are invalid without an explicit interface. [SKIPRUNTIMEMSG] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 77
Error error #6404: This name does not have a type, and must have an explicit type. [ERRID_NONE] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 77
Error error #6363: The intrinsic data types of the arguments must be the same. [MOD] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 128
Error error #6460: This is not a field name that is defined in the encompassing structure. [FOUNDSTEADY] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 128
Error error #6362: The data types of the argument(s) are invalid. [TRIM] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 129
Error error #6362: The data types of the argument(s) are invalid. [TRIM] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 129
Error error #6404: This name does not have a type, and must have an explicit type. [NUM2LSTR] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 129
Error error #6404: This name does not have a type, and must have an explicit type. [ABORTERRLEV] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 132
Error error #6404: This name does not have a type, and must have an explicit type. [ERRID_SEVERE] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 132
Error error #6363: The intrinsic data types of the arguments must be the same. [MIN] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 133
Error error #6054: A CHARACTER data type is required in this context. [NEWLINE] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 134
Error error #6404: This name does not have a type, and must have an explicit type. [NEWLINE] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 134
Error error #6341: A logical data type is required in this context. [FOUNDSTEADY] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 152
Error error #6404: This name does not have a type, and must have an explicit type. [ERRID_FATAL] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 159
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 179
Error error #6683: A kind type parameter must be a compile-time constant. [INTKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 184
Error Error running FAST Registry for IceFloe. C:\Users\wichu\code\openfast\modules\icefloe\src\interfaces\FAST\IceFloe_FASTRegistry.inp 1
Error error PRJ0019: A tool returned an error code from "Running Registry for IceFloe" Project
Warning warning #8586: Implicit type is given to allow out-of-order declaration. Non-standard extension. [DBKI] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 39
Warning warning #8586: Implicit type is given to allow out-of-order declaration. Non-standard extension. [ERRMSGLEN] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 48
Warning warning #6187: Fortran 2003 requires an INTEGER data type in this context. C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 48
Warning warning #6931: Fortran 2003 does not allow this assignment statement. ['OpenFAST'] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 61
Warning warning #6187: Fortran 2003 requires an INTEGER data type in this context. [N_TMAX_M1] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 122
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 128
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 128
Warning warning #6192: Fortran 2003 does not allow this data type conversion. C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 128
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. [FOUNDSTEADY] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 128
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. [FOUNDSTEADY] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 152
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 158
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. [FOUNDSTEADY] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 158
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 158
Warning warning #6188: Fortran 2003 requires a LOGICAL data type in this context. [CALCSTEADY] C:\Users\wichu\code\openfast\glue-codes\openfast\src\FAST_Prog.f90 158
The text was updated successfully, but these errors were encountered: