Comments (9)
Do you have GNU gcc
and g++
compilers installed? If so, you can nudge CMake to use those similar to how you have asked it to use gfortran
CC=gcc CXX=g++ FC=gfortran cmake ../
from openfast.
If so, you must run anything compiled by CygWin within the CygWin terminal. This is from the CygWin website:
Cygwin is not:
a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
a way to magically make native Windows apps aware of UNIX® functionality like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.
Your final problem looks like a path configuration problem where cmd cannot find the cygwin dll.
I believe this issue is resolved so I'm closing it, but @pfeja feel free to open it again, if necessary.
from openfast.
I just tried this, but I get the same error.
Edit: I might add, that during the installation of Cygwin due to proxy settings I didn't select http://www.gtlib.gatech.edu and Direct connection, but installed it from another Mirror. However I guess this shouldn't make any difference...
from openfast.
@pfeja you can verify the compilers that CMake is using by looking in CMakeCache.txt
. For example,
mbp@~/Development/openfast/build: grep -ni "cxx_compiler" CMakeCache.txt
87:CMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
603://ADVANCED property for variable: CMAKE_CXX_COMPILER
604:CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
Could you verify that you are indeed using the c++ compiler you expect?
If CMake did not pick up gcc, try deleting CMakeCache.txt
and running CMake again.
from openfast.
And FYI you can also see the other compilers by searching for cmake_c_compiler
and cmake_fortran_compiler
.
from openfast.
After temporarily renaming the opal-rt directory, deleting the CMakeCache.txt
file and running cmake
with your recommended settings, and additionally, with -DCMAKE\_INSTALL\_PREFIX:PATH=$HOME/software
, it compiles and runs when running inside the Cygwin Shell.
But then I added the C:\cygwin64\lib\lapack
and C:\cygwin64\home\FejPau\software\bin
to my PATH
in the Control Panel and tried to run openfast -h
from Command prompt and it complains about not finding all the Cygwin DLL files like cygwin1.dll
EDIT: I also added C:\cygwin64\bin
to the PATH
but it didn't change anything.
What am I missing now?
from openfast.
I have created a workaround to run openfast from the Command prompt. I have created a .sh script reading
#!/bin/bash
openfast $@
and a corresponding .bat file with
bash run_openfast.sh myfile.fst
This helps, but doesn't solve the issue itself. Any ideas on this?
from openfast.
@pfeja Am I understanding correctly that you are trying to run the OpenFAST executable which you compiled in CygWin from the Windows Command Prompt?
from openfast.
Hi,
I am experiencing same issue as above. I am running a WSL ubuntu distro and using vsCode as my text editor.
Any help I could get on how to resolve this issue would be very much appreciated.
from openfast.
Related Issues (20)
- MoorDyn: unexpected behavior at initialization HOT 13
- The Average of the RotTorq at Rated Wind Speed HOT 2
- The Tower Natural Frequency of the Tower of the NREL 5 MW-OC4-DeepCwind SemiSubmersible wind turbine. HOT 3
- Errors about the output of FAST.Farm HOT 4
- openfast simulation HOT 1
- Modal analysis HOT 1
- Feature request-- Calculate natural frequency and modal shape of a single blade through beamdyn HOT 3
- How to calculation the MASS MATRIX in the Cummins Equation? HOT 3
- Bug report HOT 2
- Using LiDAR to measure effective wind speed in OpenFAST
- four beam LiDAR measurement system
- About NREL 5MW FOWT fatigue analysis HOT 8
- Moordyn and map HOT 1
- [FOWT][HydroDyn]How to tune the damping matrix and drag coefficients through a series of free decay test? HOT 8
- turbsim Generate experimental wind conditions HOT 5
- Invalid Output channel - FAST.Farm HOT 21
- Backport #2013 MD bugfix to 3.5.3 release HOT 1
- Encountered Issues When Enabling TMD in IEA-15MW HOT 3
- ElastoDyn vs SubDyn: Different behavior in floating systems
- HydroDyn linearization HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfast.