Closed alberto-bortoni closed 2 years ago
If you've downloaded the OpenFAST binaries for Windows and installed the appropriate redistributable libraries from the links you showed, you don't need to build anything. You should be able to run OpenFAST without using cmake or Visual Studio using the files you have. At a command prompt, you can type openfast_x64.exe filename.fst
where filename.fst
is the name of the primary OpenFAST input file. There are examples of OpenFAST models in the r-test directory.
The link you show to the redistributable library is not the Fortran compiler itself; it is just some of its libraries that help you run the already compiled binary executable files. So if you DO want to build the code yourself, you will have to download and install the entire Fortran compiler. I'd recommend using Intel's Fortran compiler, which is now free (for use in open-source research). But again, you don't have to build anything if you just want to run the executables you downloaded from the GitHub Releases page.
Thank you so much! The first solution is what I am after =) I may have interpreted the documentation wrong. I don't think I need to build the code for my application. BEST
new to openFast here.
Following the Documentation in THIS page, I downloaded the executables form the github page and, as per the highlighted note, downloaded the "Intel Fortran Compiler 19.1 for Windows" THIS site.
After I ran the
.msi
file to install the Fortran compiler it added the files listed at the bottom. When I open VS I get the following error:My problem is I seem not to know what
...to the full path to the compiler
means. I tried adding a windows environment variableFC
with the value equal to the path to the "compiler
" directory listed below, but that failed. I am not sure if I should set the variable to a specific file in the list below. Or maybe I am heading in the wrong direction all together.I would appreciate any guidance =). BEST!
I am using:
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\