From: Wolfgang Bangerth Date: Sun, 18 Jul 2010 20:36:12 +0000 (+0000) Subject: Add the caveat that this program can only be run without threading. X-Git-Tag: v8.0.0~5793 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a711cf0e8f9768618b1c1acab161bddc0ded75e;p=dealii.git Add the caveat that this program can only be run without threading. git-svn-id: https://svn.dealii.org/trunk@21537 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-36/Makefile b/deal.II/examples/step-36/Makefile index be8c14fdea..44327cc4b0 100644 --- a/deal.II/examples/step-36/Makefile +++ b/deal.II/examples/step-36/Makefile @@ -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 # ################################################################