sandialabs / CACTUS

CACTUS (Code for Axial and Cross-flow TUrbine Simulation) is a turbine performance simulation code, based on a free wake vortex method, to study wind turbines and marine hydrokinetic (MHK) devices.
BSD 3-Clause "New" or "Revised" License
18 stars 12 forks source link

Add instructions for Windows compile #20

Closed whophil closed 4 years ago

whophil commented 4 years ago

Based on discussions with Daniel Houck.

kmruehl commented 4 years ago

@whophil I am pushing a typo fix to this branch and then will merge

kmruehl commented 4 years ago

@whophil I have a question about bin and build. Right now bin is empty since precompiled executables are not provided for CACTUS. Should we remove the bin directory from the repository and update README.md and compile.md to reflect using the build directory? Specifically updating PATH=$PATH:../../build/ pytest ./runreg.py to run tests?

kmruehl commented 4 years ago

@whophil on second thought, it seems like this another path issue with Windows. Is cactus.exe supposed to be copied into the \bin directory once it's compiled? It looks like it supposed to happen in CMakeLists.txt. If so, that's not happening on Windows.

This is actually related to https://github.com/SNL-WaterPower/CACTUS/pull/22 and not a doc issue.

whophil commented 4 years ago

@kmruehl it is indeed a doc issue, the correct make command is make install. See https://github.com/SNL-WaterPower/CACTUS/pull/23