--- /dev/null
+## ---------------------------------------------------------------------
+##
+## Copyright (C) 2018 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## The deal.II library is free software; you can use it, redistribute
+## it, and/or modify it under the terms of the GNU Lesser General
+## Public License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+## The full text of the license can be found in the file LICENSE.md at
+## the top level directory of deal.II.
+##
+## ---------------------------------------------------------------------
+
+FOREACH(_dependency MPI CUDA)
+ IF(NOT DEAL_II_WITH_${_dependency})
+ IF(DEAL_II_WITH_CUDA_AWARE_MPI)
+ MESSAGE(FATAL_ERROR "\n"
+ "DEAL_II_WITH_CUDA_AWARE_MPI has unmet configuration requirements: "
+ "DEAL_II_WITH_${_dependency} has to be set to \"ON\".\n\n"
+ )
+ ELSE()
+ MESSAGE(STATUS
+ "DEAL_II_WITH_CUDA_AWARE_MPI has unmet configuration requirements: "
+ "DEAL_II_WITH_${_dependency} has to be set to \"ON\"."
+ )
+ SET(DEAL_II_WITH_CUDA_AWARE_MPI OFF)
+ ENDIF()
+ ENDIF()
+ENDFOREACH()
# #
########################################################################
+ OPTION(DEAL_II_WITH_CUDA_AWARE_MPI
+ "If set to ON, then we assume that the MPI implementation used is CUDA-aware."
+ OFF
+ )
+ LIST(APPEND DEAL_II_FEATURES CUDA_AWARE_MPI)
+
+
OPTION(DEAL_II_WITH_64BIT_INDICES
"If set to ON, then use 64-bit data types to represent global degree of freedom indices. The default is to OFF. You only want to set this to ON if you will solve problems with more than 2^31 (approximately 2 billion) unknowns. If set to ON, you also need to ensure that both Trilinos and/or PETSc support 64-bit indices."
OFF
#cmakedefine DEAL_II_WITH_ASSIMP
#cmakedefine DEAL_II_WITH_COMPLEX_VALUES
#cmakedefine DEAL_II_WITH_CUDA
+#cmakedefine DEAL_II_WITH_CUDA_AWARE_MPI
#cmakedefine DEAL_II_WITH_CXX14
#cmakedefine DEAL_II_WITH_CXX17
#cmakedefine DEAL_II_WITH_GSL