We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug description
[ 7%] Building Fortran object modules/nwtc-library/CMakeFiles/nwtclibs.dir/src/NetLib/slatec/NWTC_SLATEC.f90.o ifort: command line error: Unrecognized keyword 'recursion' for option '-assume' make[2]: *** [modules/nwtc-library/CMakeFiles/nwtclibs.dir/src/NetLib/slatec/NWTC_SLATEC.f90.o] Error 1 make[1]: *** [modules/nwtc-library/CMakeFiles/nwtclibs.dir/all] Error 2 make: *** [all] Error 2
To Reproduce Steps to reproduce the behavior in linux:
-DCMAKE_BUILD_TYPE:STRING=Debug
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.5.274 Build 20180823
Expected behavior That the code compiles.
OpenFAST Version dev branch, commit 103130b
Additional context To workaround:
diff --git a/modules/nwtc-library/CMakeLists.txt b/modules/nwtc-library/CMakeLists.txt index a32fbc3..fde58d3 100644 --- a/modules/nwtc-library/CMakeLists.txt +++ b/modules/nwtc-library/CMakeLists.txt @@ -67,9 +67,9 @@ if (CMAKE_BUILD_TYPE MATCHES Debug) set_source_files_properties(src/NetLib/slatec/dqk61.f PROPERTIES COMPILE_FLAGS "/assume:recursion") set_source_files_properties(src/NetLib/slatec/qk61.f PROPERTIES COMPILE_FLAGS "/assume:recursion") else() - set_source_files_properties(src/NetLib/slatec/NWTC_SLATEC.f90 PROPERTIES COMPILE_FLAGS "-assume recursion") - set_source_files_properties(src/NetLib/slatec/dqk61.f PROPERTIES COMPILE_FLAGS "-assume recursion") - set_source_files_properties(src/NetLib/slatec/qk61.f PROPERTIES COMPILE_FLAGS "-assume recursion") + set_source_files_properties(src/NetLib/slatec/NWTC_SLATEC.f90 PROPERTIES COMPILE_FLAGS "-recursive") + set_source_files_properties(src/NetLib/slatec/dqk61.f PROPERTIES COMPILE_FLAGS "-recursive") + set_source_files_properties(src/NetLib/slatec/qk61.f PROPERTIES COMPILE_FLAGS "-recursive") endif() endif() endif()
The text was updated successfully, but these errors were encountered:
[BugFix] fix for intel build fail OpenFAST#546
40d916f
Incorrect CMake flag was specified
[BugFix] cmake configuration for Linux + Intel + Debug (#547)
2061792
- closes #546 - Incorrect CMake flag was specified - intel compiler version logic check for assume:recursion flags
Fixed in #547
Sorry, something went wrong.
[BugFix] cmake configuration for Linux + Intel + Debug (OpenFAST#547)
3b8946b
- closes OpenFAST#546 - Incorrect CMake flag was specified - intel compiler version logic check for assume:recursion flags
andrew-platt
No branches or pull requests
Bug description
To Reproduce
Steps to reproduce the behavior in linux:
-DCMAKE_BUILD_TYPE:STRING=Debug
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.5.274 Build 20180823
Expected behavior
That the code compiles.
OpenFAST Version
dev branch, commit 103130b
Additional context
To workaround:
The text was updated successfully, but these errors were encountered: