]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some more comments about the detached solver.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2002 15:07:41 +0000 (15:07 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 30 Sep 2002 15:07:41 +0000 (15:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@6560 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_direct.h

index 0c757bd43f5d05e8b40bdc5ddc523a1c7b56ad8c..6946c7ca4ed91d536c9fea7f5833a8aa997f9bf4 100644 (file)
  * waiting. On the other hand, it will prevent that you call functions
  * of this object multiply in parallel at the same time, which is what
  * you probably wanted.
+ *
+ * 
+ * @sect4{Internals of the detached mode}
+ *
+ * The program that actually runs the detached solver is called
+ * @p{detached_ma27}, and will show up under this name in the process
+ * list. It communicates with the main program through a pipe.
+ *
+ * Since the solver and the main program are two separated processes,
+ * the solver program will not be notified if the main program dies,
+ * for example because it is aborted with Control-C, because an
+ * exception is raised and not caught, or some other reason. It will
+ * just not get any new jobs, but will happily wait until the end of
+ * times. For this reason, the detached solver has a second thread
+ * running in parallel that simply checks in regular intervals whether
+ * the main program is still alive, using the @p{ps} program. If this
+ * is no longer the case, the detached solver exits as well.
+ *
+ * Since the intervals between two such checks are a couple of second,
+ * it may happen that the detached solver survives the main program by
+ * some time. Presently, the check interval is once every 20
+ * seconds. After that time, the detached solver should have noticed
+ * the main programs demise.
+ * 
  * 
  * @author Wolfgang Bangerth, 2000, 2001, 2002
  */

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.