The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings MMD
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

authoralainbastide <alain.bastide@univ-reunion.fr>
Sat, 18 Jul 2020 02:38:21 +0000 (06:38 +0400)
committeralainbastide <alain.bastide@univ-reunion.fr>
Sat, 18 Jul 2020 02:38:21 +0000 (06:38 +0400)
CMakeLists.txt
test/CMakeLists.txt

index c084a03..ea49bf4 100644 (file)
@@ -34,6 +34,14 @@ if(CMAKE_BUILD_TYPE EQUAL "Release")
     set(CMAKE_C_FLAGS_RELEASE "-03 -march=skylake      -mtune=skylake")
 endif()
 
+find_package(MPI)
+find_package(BLAS)
+find_package(CUDA)
+find_package(CUDAToolkit)
+find_package(OpenMP)
+
+#https://doc.qt.io/qt-5/cmake-variable-reference.html
+find_package(Qt5 COMPONENTS Widgets)
 
 find_package(VTK REQUIRED)
 vtk_module_config(VTK
@@ -44,7 +52,7 @@ vtk_module_config(VTK
   vtkRendering${VTK_RENDERING_BACKEND}
 )
 include(${VTK_USE_FILE})
-
 message("CXXFLAGS:" ${CMAKE_CXX_FLAGS})
 message("CFLAGS  :" ${CMAKE_C_FLAGS})
 
index f340625..fc1ff5e 100644 (file)
@@ -19,7 +19,6 @@ target_link_libraries (test01.out
     )
 
 
-find_package(MPI)
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")                   
 include_directories(SYSTEM ${MPI_INCLUDE_PATH})
 add_executable(test_mpi.out test_mpi.c ${DATA_FILE})