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
680 stars 456 forks source link

Reg-test Failed Test and Unit-test cMake errors #662

Closed klitz06 closed 3 years ago

klitz06 commented 3 years ago

Hi everyone,

As I mentioned in the title some of my reg-tests are failing. I used the tutorials given in here .

I dont know where to look for why therse fails happen. I could not find debug files. So my question is how do I solve these fails? Test results are below. If you need more info please feel free to ask.

`(base) PS D:\openfast\reg_tests> python manualRegressionTest.py ..\build\bin\openfast_x64_Double.exe Windows Intel 1e-5 executing AWT_YFix_WSt PASS executing AWT_WSt_StartUp_HighSpShutDown PASS executing AWT_YFree_WSt PASS executing AWT_YFree_WTurb PASS executing AWT_WSt_StartUpShutDown PASS executing AOC_WSt PASS executing AOC_YFree_WTurb PASS executing AOC_YFix_WSt PASS executing UAE_Dnwind_YRamp_WSt FAIL executing UAE_Upwind_Rigid_WRamp_PwrCurve PASS executing WP_VSP_WTurb_PitchFail PASS executing WP_VSP_ECD PASS executing WP_VSP_WTurb PASS executing SWRT_YFree_VS_EDG01 PASS executing SWRT_YFree_VS_EDC01 PASS executing SWRT_YFree_VS_WTurb FAIL executing 5MW_Land_DLL_WTurb PASS executing 5MW_OC3Mnpl_DLL_WTurb_WavesIrr FAIL executing 5MW_OC3Trpd_DLL_WSt_WavesReg FAIL executing 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth FAIL executing 5MW_ITIBarge_DLL_WTurb_WavesIrr FAIL executing 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti FAIL executing 5MW_OC3Spar_DLL_WTurb_WavesIrr FAIL executing 5MW_OC4Semi_WSt_WavesWN PASS executing 5MW_OC4Jckt_ExtPtfm PASS executing 5MW_Land_BD_DLL_WTurb FAIL executing IEA_LB_RWT-AeroAcoustics PASS executing HelicalWake_OLAF PASS executing EllipticalWing_OLAF PASS executing WP_Stationary_Linear PASS executing 5MW_Land_BD_Linear PASS executing 5MW_OC4Semi_Linear PASS executing Ideal_Beam_Fixed_Free_Linear PASS executing Ideal_Beam_Free_Free_Linear PASS

Regression test execution completed with these results: AWT_YFix_WSt PASS AWT_WSt_StartUp_HighSpShutDown PASS AWT_YFree_WSt PASS AWT_YFree_WTurb PASS AWT_WSt_StartUpShutDown PASS AOC_WSt PASS AOC_YFree_WTurb PASS AOC_YFix_WSt PASS UAE_Dnwind_YRamp_WSt FAIL UAE_Upwind_Rigid_WRamp_PwrCurve PASS WP_VSP_WTurb_PitchFail PASS WP_VSP_ECD PASS WP_VSP_WTurb PASS SWRT_YFree_VS_EDG01 PASS SWRT_YFree_VS_EDC01 PASS SWRT_YFree_VS_WTurb FAIL 5MW_Land_DLL_WTurb PASS 5MW_OC3Mnpl_DLL_WTurb_WavesIrr FAIL 5MW_OC3Trpd_DLL_WSt_WavesReg FAIL 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth FAIL 5MW_ITIBarge_DLL_WTurb_WavesIrr FAIL 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti FAIL 5MW_OC3Spar_DLL_WTurb_WavesIrr FAIL 5MW_OC4Semi_WSt_WavesWN PASS 5MW_OC4Jckt_ExtPtfm PASS 5MW_Land_BD_DLL_WTurb FAIL IEA_LB_RWT-AeroAcoustics PASS HelicalWake_OLAF PASS EllipticalWing_OLAF PASS WP_Stationary_Linear PASS 5MW_Land_BD_Linear PASS 5MW_OC4Semi_Linear PASS Ideal_Beam_Fixed_Free_Linear PASS Ideal_Beam_Free_Free_Linear PASS Total PASSING tests - 25 Total FAILING tests - 9`

I am also having trouble with unit-test. I am using tutorials given here .

Errors on the anaconda terminal: `-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042. -- Enabling Fortran 2008 features -- Could NOT find MKL (missing: MKL_LIBRARIES MKL_IFACE_LIB MKL_SEQ_LIB MKL_CORE_LIB) CMake Error at C:/Users/klitzmasa/anaconda3/Library/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find BLAS (missing: BLAS_LIBRARIES) Call Stack (most recent call first): C:/Users/klitzmasa/anaconda3/Library/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) C:/Users/klitzmasa/anaconda3/Library/share/cmake-3.18/Modules/FindBLAS.cmake:947 (find_package_handle_standard_args) CMakeLists.txt:72 (find_package)

-- Configuring incomplete, errors occurred! See also "D:/openfast/build/CMakeFiles/CMakeOutput.log". See also "D:/openfast/build/CMakeFiles/CMakeError.log".`

And also log files:

CMakeError:

Determining if the Fortran sgemm exists failed with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/Common7/IDE/devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTC_c0123 &&

Microsoft Visual Studio 2019 Version 16.8.4.

Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: cmTC_c0123, Configuration: Debug x64 ------

1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]...

1>testFortranCompiler.f

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Linking...

1>Microsoft (R) Incremental Linker Version 14.28.29336.0

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>/OUT:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_c0123.exe

1>/VERSION:0.0

1>/MANIFEST

1>/MANIFESTFILE:cmTC_c0123.dir\Debug\cmTC_c0123.exe.intermediate.manifest

1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'"

1>/DEBUG

1>/PDB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug/cmTC_c0123.pdb

1>/SUBSYSTEM:CONSOLE

1>/IMPLIB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_c0123.lib

1>user32.lib

1>/machine:x64

1>/debug

1>/INCREMENTAL

1>cmTC_c0123.dir\Debug\testFortranCompiler.obj

1>cmTC_c0123.dir\Debug\cmTC_c0123.exe.embed.manifest.res

1>testFortranCompiler.obj : error LNK2019: unresolved external symbol SGEMM referenced in function MAIN__

1>D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_c0123.exe : fatal error LNK1120: 1 unresolved externals

1>

1>Build log written to "file://D:\openfast\build\CMakeFiles\CMakeTmp\cmTC_c0123.dir\Debug\BuildLog.htm"

1>cmTC_c0123 - 2 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Determining if the include file pthread.h exists failed with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/MSBuild/Current/Bin/MSBuild.exe cmTC_43b99.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CheckIncludeFile.c

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_43b99.dir\Debug\" /Fd"cmTC_43b99.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue D:\openfast\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c

D:\openfast\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:\openfast\build\CMakeFiles\CMakeTmp\cmTC_43b99.vcxproj]

CMakeOutput:

The system is: Windows - 10.0.19042 - AMD64 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler:
Build flags: Id flags:

The output was: 0 Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/20/2021 10:54:06. Project "D:\openfast\build\CMakeFiles\3.18.2\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdCXX.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp CMakeCXXCompilerId.cpp Link: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj CompilerIdCXX.vcxproj -> D:\openfast\build\CMakeFiles\3.18.2\CompilerIdCXX\CompilerIdCXX.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i :VCEnd CMAKE_CXX_COMPILER=E:\vs\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate". Done Building Project "D:\openfast\build\CMakeFiles\3.18.2\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:02.36

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "D:/openfast/build/CMakeFiles/3.18.2/CompilerIdCXX/CompilerIdCXX.exe"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler:
Build flags: Id flags:

The output was: 0 Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/20/2021 10:54:09. Project "D:\openfast\build\CMakeFiles\3.18.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdC.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c CMakeCCompilerId.c Link: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj CompilerIdC.vcxproj -> D:\openfast\build\CMakeFiles\3.18.2\CompilerIdC\CompilerIdC.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i :VCEnd CMAKE_C_COMPILER=E:\vs\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate". Done Building Project "D:\openfast\build\CMakeFiles\3.18.2\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:01.21

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "D:/openfast/build/CMakeFiles/3.18.2/CompilerIdC/CompilerIdC.exe"

Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" succeeded. Compiler:
Build flags: Id flags:

The output was: 0

Microsoft Visual Studio 2019 Version 16.8.4. Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: CompilerIdFortran, Configuration: Debug x64 ------ 1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]... 1>CMakeFortranCompilerId.F 1>Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.1 Build 20201112_000000 1>Copyright (C) 1985-2020 Intel Corporation. All rights reserved. 1>Linking... 1>Microsoft (R) Incremental Linker Version 14.28.29336.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>/OUT:.\CompilerIdFortran.exe 1>/INCREMENTAL:NO 1>/MANIFEST 1>/MANIFESTFILE:Debug\CompilerIdFortran.exe.intermediate.manifest 1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'" 1>/DEBUG 1>/PDB:D:\openfast\build\CMakeFiles\3.18.2\CompilerIdFortran\CompilerIdFortran.pdb 1>/SUBSYSTEM:CONSOLE 1>/IMPLIB:D:\openfast\build\CMakeFiles\3.18.2\CompilerIdFortran\CompilerIdFortran.lib 1>Debug\CMakeFortranCompilerId.obj 1>Embedding manifest... 1>Performing Post-Build Event... 1>CMAKE_Fortran_COMPILER=C:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\bin\intel64\ifort.exe 1> 1>Build log written to "file://D:\openfast\build\CMakeFiles\3.18.2\CompilerIdFortran\Debug\BuildLog.htm" 1>CompilerIdFortran - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.exe"

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.pdb"

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.u2d"

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.vfproj"

The Fortran compiler identification is Intel, found in "D:/openfast/build/CMakeFiles/3.18.2/CompilerIdFortran/CompilerIdFortran.exe"

Detecting CXX compiler ABI info compiled with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/MSBuild/Current/Bin/MSBuild.exe cmTC_2ed30.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCXXCompilerABI.cpp

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_2ed30.dir\Debug\" /Fd"cmTC_2ed30.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Users\klitzmasa\anaconda3\Library\share\cmake-3.18\Modules\CMakeCXXCompilerABI.cpp"

cmTC_2ed30.vcxproj -> D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_2ed30.exe

Detecting C compiler ABI info compiled with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/MSBuild/Current/Bin/MSBuild.exe cmTC_85d53.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCCompilerABI.c

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_85d53.dir\Debug\" /Fd"cmTC_85d53.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Users\klitzmasa\anaconda3\Library\share\cmake-3.18\Modules\CMakeCCompilerABI.c"

cmTC_85d53.vcxproj -> D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_85d53.exe

Detecting Fortran compiler ABI info compiled with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/Common7/IDE/devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTC_06332 &&

Microsoft Visual Studio 2019 Version 16.8.4.

Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: cmTC_06332, Configuration: Debug x64 ------

1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]...

1>CMakeFortranCompilerABI.F

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Linking...

1>Microsoft (R) Incremental Linker Version 14.28.29336.0

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>/OUT:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_06332.exe

1>/VERSION:0.0

1>/MANIFEST

1>/MANIFESTFILE:cmTC_06332.dir\Debug\cmTC_06332.exe.intermediate.manifest

1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'"

1>/DEBUG

1>/PDB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug/cmTC_06332.pdb

1>/SUBSYSTEM:CONSOLE

1>/IMPLIB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_06332.lib

1>/machine:x64

1>/debug

1>/INCREMENTAL

1>cmTC_06332.dir\Debug\CMakeFortranCompilerABI.obj

1>cmTC_06332.dir\Debug\cmTC_06332.exe.embed.manifest.res

1>Embedding manifest...

1>Microsoft (R) Manifest Tool

1>Copyright (c) Microsoft Corporation.

1>All rights reserved.

1>

1>Build log written to "file://D:\openfast\build\CMakeFiles\CMakeTmp\cmTC_06332.dir\Debug\BuildLog.htm"

1>cmTC_06332 - 0 error(s), 0 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Determining if the Fortran compiler supports Fortran 90 passed with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/Common7/IDE/devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTC_8abf1 &&

Microsoft Visual Studio 2019 Version 16.8.4.

Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: cmTC_8abf1, Configuration: Debug x64 ------

1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]...

1>testFortranCompilerF90.f90

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Linking...

1>Microsoft (R) Incremental Linker Version 14.28.29336.0

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>/OUT:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_8abf1.exe

1>/VERSION:0.0

1>/MANIFEST

1>/MANIFESTFILE:cmTC_8abf1.dir\Debug\cmTC_8abf1.exe.intermediate.manifest

1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'"

1>/DEBUG

1>/PDB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug/cmTC_8abf1.pdb

1>/SUBSYSTEM:CONSOLE

1>/IMPLIB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_8abf1.lib

1>user32.lib

1>/machine:x64

1>/debug

1>/INCREMENTAL

1>cmTC_8abf1.dir\Debug\testFortranCompilerF90.obj

1>cmTC_8abf1.dir\Debug\cmTC_8abf1.exe.embed.manifest.res

1>Embedding manifest...

1>Microsoft (R) Manifest Tool

1>Copyright (c) Microsoft Corporation.

1>All rights reserved.

1>

1>Build log written to "file://D:\openfast\build\CMakeFiles\CMakeTmp\cmTC_8abf1.dir\Debug\BuildLog.htm"

1>cmTC_8abf1 - 0 error(s), 0 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Performing Fortran SOURCE FILE Test HAS_FORTRAN2008 succeeded with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/Common7/IDE/devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTC_1b7d3 &&

Microsoft Visual Studio 2019 Version 16.8.4.

Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: cmTC_1b7d3, Configuration: Debug x64 ------

1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]...

1>src.F90

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Linking...

1>Microsoft (R) Incremental Linker Version 14.28.29336.0

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>/OUT:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_1b7d3.exe

1>/VERSION:0.0

1>/MANIFEST

1>/MANIFESTFILE:cmTC_1b7d3.dir\Debug\cmTC_1b7d3.exe.intermediate.manifest

1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'"

1>/DEBUG

1>/PDB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug/cmTC_1b7d3.pdb

1>/SUBSYSTEM:CONSOLE

1>/IMPLIB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_1b7d3.lib

1>user32.lib

1>/machine:x64

1>/debug

1>/INCREMENTAL

1>cmTC_1b7d3.dir\Debug\src.obj

1>cmTC_1b7d3.dir\Debug\cmTC_1b7d3.exe.embed.manifest.res

1>Embedding manifest...

1>Microsoft (R) Manifest Tool

1>Copyright (c) Microsoft Corporation.

1>All rights reserved.

1>

1>Build log written to "file://D:\openfast\build\CMakeFiles\CMakeTmp\cmTC_1b7d3.dir\Debug\BuildLog.htm"

1>cmTC_1b7d3 - 0 error(s), 0 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Source file was: program test use iso_fortran_env, only: compiler_version, real32, real64, real128 integer, parameter :: quki = real128 integer, parameter :: dbki = real64 integer, parameter :: reki = real32

 end program test

The system is: Windows - 10.0.19042 - AMD64 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler:
Build flags: /DWIN32;/D_WINDOWS;/W3;/GR;/EHsc Id flags:

The output was: 0 Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/20/2021 11:17:45. Project "D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdCXX.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp CMakeCXXCompilerId.cpp Link: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj CompilerIdCXX.vcxproj -> D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdCXX\CompilerIdCXX.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i :VCEnd CMAKE_CXX_COMPILER=E:\vs\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate". Done Building Project "D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:01.38

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "D:/openfast/build/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdCXX/CompilerIdCXX.exe"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler:
Build flags: /DWIN32;/D_WINDOWS;/W3 Id flags:

The output was: 0 Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/20/2021 11:17:47. Project "D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "Debug\". Creating directory "Debug\CompilerIdC.tlog\". InitializeBuildStatus: Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c CMakeCCompilerId.c Link: E:\vs\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj CompilerIdC.vcxproj -> D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdC\CompilerIdC.exe PostBuildEvent: for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i :VCEnd CMAKE_C_COMPILER=E:\vs\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\cl.exe FinalizeBuildStatus: Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild". Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate". Done Building Project "D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:01.10

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "D:/openfast/build/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdC/CompilerIdC.exe"

Compiling the Fortran compiler identification source file "CMakeFortranCompilerId.F" succeeded. Compiler:
Build flags: /W1;/nologo;/fpp;/libs:dll;/threads Id flags:

The output was: 0

Microsoft Visual Studio 2019 Version 16.8.4. Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: CompilerIdFortran, Configuration: Debug x64 ------ 1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]... 1>CMakeFortranCompilerId.F 1>Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.1 Build 20201112_000000 1>Copyright (C) 1985-2020 Intel Corporation. All rights reserved. 1>ifort: warning #10423: The command line option '/Qm64' overrides the environment variable 'INTEL_TARGET_ARCH_IA32' setting 1>Linking... 1>Link: warning #10423: The command line option '-qm64' overrides the environment variable 'INTEL_TARGET_ARCH_IA32' setting 1>Microsoft (R) Incremental Linker Version 14.28.29336.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>/OUT:.\CompilerIdFortran.exe 1>/INCREMENTAL:NO 1>/MANIFEST 1>/MANIFESTFILE:Debug\CompilerIdFortran.exe.intermediate.manifest 1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'" 1>/DEBUG 1>/PDB:D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdFortran\CompilerIdFortran.pdb 1>/SUBSYSTEM:CONSOLE 1>/IMPLIB:D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdFortran\CompilerIdFortran.lib 1>Debug\CMakeFortranCompilerId.obj 1>Embedding manifest... 1>Performing Post-Build Event... 1>CMAKE_Fortran_COMPILER=C:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\bin\intel64\ifort.exe 1> 1>Build log written to "file://D:\openfast\build\CMakeFiles\3.18.20081302-MSVC_2\CompilerIdFortran\Debug\BuildLog.htm" 1>CompilerIdFortran - 0 error(s), 2 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.exe"

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.pdb"

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.u2d"

Compilation of the Fortran compiler identification source "CMakeFortranCompilerId.F" produced "CompilerIdFortran.vfproj"

The Fortran compiler identification is Intel, found in "D:/openfast/build/CMakeFiles/3.18.20081302-MSVC_2/CompilerIdFortran/CompilerIdFortran.exe"

Detecting CXX compiler ABI info compiled with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/MSBuild/Current/Bin/MSBuild.exe cmTC_5b2b7.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCXXCompilerABI.cpp

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_5b2b7.dir\Debug\" /Fd"cmTC_5b2b7.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "E:\vs\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.18\Modules\CMakeCXXCompilerABI.cpp"

cmTC_5b2b7.vcxproj -> D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_5b2b7.exe

Detecting C compiler ABI info compiled with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/MSBuild/Current/Bin/MSBuild.exe cmTC_69246.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

CMakeCCompilerABI.c

cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_69246.dir\Debug\" /Fd"cmTC_69246.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "E:\vs\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.18\Modules\CMakeCCompilerABI.c"

cmTC_69246.vcxproj -> D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_69246.exe

Detecting Fortran compiler ABI info compiled with the following output: Change Dir: D:/openfast/build/CMakeFiles/CMakeTmp

Run Build Command(s):E:/vs/Common7/IDE/devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTC_6844f &&

Microsoft Visual Studio 2019 Version 16.8.4.

Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 13 days.

Package 'IFLangServicePackage' failed to load.

Package 'IFLangServicePackage' failed to load. 1>------ Build started: Project: cmTC_6844f, Configuration: Debug x64 ------

1>Compiling with Intelr Fortran Compiler Classic 2021.1.1 [Intel(R) 64]...

1>CMakeFortranCompilerABI.F

1>ifort: warning #10423: The command line option '/Qm64' overrides the environment variable 'INTEL_TARGET_ARCH_IA32' setting

1>Compiling manifest to resources...

1>Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Linking...

1>Link: warning #10423: The command line option '-qm64' overrides the environment variable 'INTEL_TARGET_ARCH_IA32' setting

1>Microsoft (R) Incremental Linker Version 14.28.29336.0

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>/OUT:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_6844f.exe

1>/VERSION:0.0

1>/MANIFEST

1>/MANIFESTFILE:cmTC_6844f.dir\Debug\cmTC_6844f.exe.intermediate.manifest

1>"/MANIFESTUAC:level='asInvoker' uiAccess='false'"

1>/DEBUG

1>/PDB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug/cmTC_6844f.pdb

1>/SUBSYSTEM:CONSOLE

1>/IMPLIB:D:\openfast\build\CMakeFiles\CMakeTmp\Debug\cmTC_6844f.lib

1>/machine:x64

1>/debug

1>/INCREMENTAL

1>cmTC_6844f.dir\Debug\CMakeFortranCompilerABI.obj

1>cmTC_6844f.dir\Debug\cmTC_6844f.exe.embed.manifest.res

1>Embedding manifest...

1>Microsoft (R) Manifest Tool

1>Copyright (c) Microsoft Corporation.

1>All rights reserved.

1>

1>Build log written to "file://D:\openfast\build\CMakeFiles\CMakeTmp\cmTC_6844f.dir\Debug\BuildLog.htm"

1>cmTC_6844f - 0 error(s), 2 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

`

OpenFAST Version My compiled OpenFAST information. I complied it using VS.

OpenFAST-v2.5.0-568-gee3f411c-dirty Compile Info:

I am using Windows 10.

Edit: I think i mislabelled the topic sorry about that.

klitz06 commented 3 years ago

After some searching in the NREL forum and here I solved the problems. I was missing the DLL files for most failures and in test #9 (it is said here in the first message ) results can differ from compiler to compiler so I am closing this issues.