]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Results and changelog entry
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 10 May 2019 22:57:21 +0000 (18:57 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 10 May 2019 22:57:21 +0000 (18:57 -0400)
doc/news/changes/major/20190510ArndtTurcksin [new file with mode: 0644]
examples/step-64/doc/results.dox
examples/step-64/step-64.cu

diff --git a/doc/news/changes/major/20190510ArndtTurcksin b/doc/news/changes/major/20190510ArndtTurcksin
new file mode 100644 (file)
index 0000000..952df32
--- /dev/null
@@ -0,0 +1,5 @@
+New: Ths step-64 tutorial demonstrates how to use the CUDAWrappers::MatrixFree
+framework (possibly with MPI) and discusses the peculiarities of using CUDA
+inside deal.II in general.
+<br>
+(Daniel Arndt, Bruno Turcksin, 2019/05/10)
index efcbca3d9463838727ab29ad827a41ca72900d35..ca29f9b77bd831a1550df6a075b59f0551c2ed17 100644 (file)
@@ -1,5 +1,33 @@
 <h1>Results</h1>
 
+Since the main purpose of this tutorial is to demonstrate how to use the
+CUDAWrappers::MatrixFree interface, we just show the expected output here:
+@code
+Cycle 0
+   Number of active cells:       8
+   Number of degrees of freedom: 343
+  Solved in 27 iterations.
+  solution norm: 0.0205439
+
+Cycle 1
+   Number of active cells:       64
+   Number of degrees of freedom: 2197
+  Solved in 60 iterations.
+  solution norm: 0.0205269
+
+Cycle 2
+   Number of active cells:       512
+   Number of degrees of freedom: 15625
+  Solved in 114 iterations.
+  solution norm: 0.0205261
+
+Cycle 3
+   Number of active cells:       4096
+   Number of degrees of freedom: 117649
+  Solved in 227 iterations.
+  solution norm: 0.0205261
+@endcode
+
 <a name="extensions"></a>
 <h3> Possible extensions </h3>
 
index 04453d555d52b1c19529caea021d4dad668dc09a..5b03c3524b7f25541c747ad89ba7338a3c1d6ab1 100644 (file)
@@ -305,7 +305,7 @@ namespace Step64
     // that always uses GPU memory storage but doesn't work with MPI. It might
     // be worth noticing that the communication between different MPI processes
     // can be improved if the MPI implementation is CUDA-aware and the configure
-    // flag DEAL_II_WITH_CUDA_AWARE_MPI is enabled.
+    // flag DEAL_II_MPI_WITH_CUDA_SUPPORT is enabled.
     //
     // Here, we also have a finite element vector with CPU storage such that we
     // can view and display the solution as usual.
@@ -425,7 +425,7 @@ namespace Step64
   // precondition by the identity, to focus just on the peculiarities of the
   // CUDAWrappers::MatrixFree framework. Of course, in a real application the
   // choice of a suitable preconditioner is crucial but we have at least the
-  // same restructions as in step-37 since matrix entries are computed on the
+  // same restrictions as in step-37 since matrix entries are computed on the
   // fly and not stored.
   template <int dim, int fe_degree>
   void HelmholtzProblem<dim, fe_degree>::solve()

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.