]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Require OpenMP for CUDA support 7573/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 8 Jan 2019 20:28:47 +0000 (21:28 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 8 Jan 2019 20:35:31 +0000 (21:35 +0100)
cmake/configure/configure_1_cuda.cmake

index c06a7179c83b40aebded0fba66262a399711ee3d..3455a0aac5bdc25e3189c739145d05a0ea06a205 100644 (file)
@@ -103,7 +103,7 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var)
     ENDIF()
 
     # cuSOLVER requires OpenMP
-    FIND_PACKAGE(OpenMP)
+    FIND_PACKAGE(OpenMP REQUIRED)
     SET(DEAL_II_LINKER_FLAGS "${DEAL_II_LINKER_FLAGS} ${OpenMP_CXX_FLAGS}")
 
     ADD_FLAGS(DEAL_II_CUDA_FLAGS_DEBUG "-G")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.