OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
668 stars 452 forks source link

Version of openfast_x64.exe #2319

Open Tomedssa opened 1 month ago

Tomedssa commented 1 month ago

Hi, openfast_x64.exe is an executable file in windows. Due to some work needs, I may need to run related files in Linux system, but openfast_x64.exe is not executable file in Linux. So I wonder if there is a version for Linux? Or can I somehow modify openfast_x64.exe to be an executable for Linux systems? Thank you for your attention to these questions. I look forward to your response.

deslaughter commented 1 month ago

@Tomedssa The easiest way to get OpenFAST on Linux is to use Conda which will download a precompiled binary. Complete instructions are available in the OpenFAST documentation at https://openfast.readthedocs.io/en/main/source/install/index.html#conda-installation.

Tomedssa commented 1 month ago

Hi, Another problem I encountered was that when I was using MATLAB and OpenFAST for joint simulation on Linux systems, MATLAB error message in S-Function' Test01_SIG/FAST Nonlinear Wind Turbine/S-Function' : S-Function 'FAST_SFunc' does not exist, but I did not get this error when running under Windows. What is the reason for this error? How should it be resolved? Thank you for your help with the above question, and I look forward to your answer to this question,thanks.

jjonkman commented 1 month ago

Hi @Tomedssa,

Did you recompile the OpenFAST S-Function, and corresponding dynamic library for Linux? The .mexw64 mex function and .dll library are specific binaries for Windows.

Best regards,