]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add the caveat that this program can only be run without threading.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 18 Jul 2010 20:36:12 +0000 (20:36 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 18 Jul 2010 20:36:12 +0000 (20:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@21537 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-36/Makefile

index be8c14fdea50d52fc27dc99cae119e884a9c02f3..44327cc4b0544ecb68ca8804e7c9002cc1b24cb0 100644 (file)
@@ -48,7 +48,8 @@ include $D/common/Make.global_options
 ################################################################ 
 # This example program will only work if PETSc and SLEPc are both installed.
 # If this is not the case, then simply redefine the main targets to do nothing
-ifneq ($(USE_CONTRIB_PETSC)$(USE_CONTRIB_SLEPC),yesyes)
+ifneq ($(USE_CONTRIB_PETSC)$(USE_CONTRIB_SLEPC)$(enable-threads),yesyesno)
+  ifneq ($(USE_CONTRIB_PETSC)$(USE_CONTRIB_SLEPC),yesyes)
 default run clean:
        @echo
        @echo "===========================================================" 
@@ -57,7 +58,16 @@ default run clean:
        @echo "=   and detected during configuration of deal.II          ="
        @echo "==========================================================="
        @echo
-
+  else
+default run clean:
+       @echo
+       @echo "===========================================================" 
+       @echo "=   PETSc can not be used when running programs on        ="
+       @echo "=   multiple threads. Make sure you have specified the    ="
+       @echo "=   --disable-threads flag upon configuration of deal.II  ="
+       @echo "==========================================================="
+       @echo
+  endif
 else
 #
 ################################################################

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.