Skip to content

OpenFAST Configuration file#4

Merged
gantech merged 1 commit into
gantech:cppLibraryGluecodefrom
sayerhs:f/fastcpp
Apr 5, 2017
Merged

OpenFAST Configuration file#4
gantech merged 1 commit into
gantech:cppLibraryGluecodefrom
sayerhs:f/fastcpp

Conversation

@sayerhs

@sayerhs sayerhs commented Apr 5, 2017

Copy link
Copy Markdown
Collaborator

This commit creates an OpenFASTConfig.cmake file that can be used to detect a valid OpenFAST install and configure library linking automatically. The design follows Trilinos setup closely and can be used in a similar manner in Nalu's CMakeLists.txt

if (NALU_USES_OpenFAST)
    SET(CMAKE_PREFIX_PATH ${OpenFAST_DIR} ${CMAKE_PREFIX_PATH})
    find_package(OpenFAST REQUIRED)
endif()

and then in the linking step

if (NALU_USES_OpenFAST)
   target_link_libraries(naluX ... ${OpenFAST_LIBRARIES})
endif()

To use this, one has to make install the compile OpenFAST into a central location (similar to Trilinos).

Create a CMake configuration file that can be used by other projects to
find OpenFAST and setup appropriate paths and libraries to be linked.
Currently, this will only work from a `make install` target and not from
the build directory directly.
@sayerhs sayerhs changed the base branch from master to cppLibraryGluecode April 5, 2017 17:52
@gantech gantech merged commit cc1a550 into gantech:cppLibraryGluecode Apr 5, 2017
gantech pushed a commit that referenced this pull request Apr 27, 2020
gantech pushed a commit that referenced this pull request Oct 1, 2020
gantech pushed a commit that referenced this pull request Oct 16, 2020
Added DerivOrd to BeamDyn linearization + minor fixes
gantech pushed a commit that referenced this pull request Oct 16, 2020
included option for output of large txt and bin files
gantech pushed a commit that referenced this pull request Oct 16, 2020
gantech pushed a commit that referenced this pull request Oct 16, 2020
Merged in the updated dev branch from OpenFAST
gantech pushed a commit that referenced this pull request Dec 4, 2023
MDv2: input file parsing using FileInfo_Type for data storage
gantech pushed a commit that referenced this pull request Dec 4, 2023
Code cleanup + HD driver linearization
gantech pushed a commit that referenced this pull request Dec 4, 2023
gantech pushed a commit that referenced this pull request Dec 11, 2023
MD: update regression tests for PR1816
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants