Compiling Openfast with HDF5 and yaml-cpp option

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Merle.Sieb
Posts: 2
Joined: Tue Mar 12, 2019 3:58 am
Organization: Hochschule Flensburg
Location: Germany

Compiling Openfast with HDF5 and yaml-cpp option

Postby Merle.Sieb » Thu Apr 18, 2019 8:33 pm

Hi everyone,

I am sorry if I missed a related thread in advance.

I want to compile openfast for SOWFA and as far as I understood I need to include the HDF5 and yaml-cpp options. I stuck to the instructions stated in the fast-install.sh file in the share folder: https://github.com/OpenFAST/openfast/bl ... install.sh
But I encounter the error:

Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS
HDF5_HL_LIBRARIES C HL) (found version "")

The log files of the building of HDF5 and yaml-cpp dont show any errors. I tried to add the HDF5 files to $PATH which I found in another forum, but this did not work out either.

I don't quite understand what those packages shall do, but if I understood it right they are only included when setting BUILD_OPENFAST_CPP_API=ON (correct?). Anyhow, the compilation fails with the same error when compiling with default values (cmake ../) although this has worked before.

What changed in between is that I installed HDF5 and yaml-cpp and as I encountered trouble installing them with the cmake version I had to set that to v3.10.1 (although in the README file it is stated 2.8.12, which I had before, is engough.

I would highly appreciate if anyone could help. Thanks in advance.

Merle

Jason.Jonkman
Posts: 4962
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Compiling Openfast with HDF5 and yaml-cpp option

Postby Jason.Jonkman » Fri Apr 19, 2019 6:40 am

Dear Merle,

I would suggest posting your question on OpenFAST issues: https://github.com/OpenFAST/openfast/issues, where you are likely to get more response from the OpenFAST development community. This forum better caters to the application of OpenFAST.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest