aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@1d96b42b-98df-4a6a-9d84-1b24288d4588>2000-04-18 11:10:30 +0000
committertradke <tradke@1d96b42b-98df-4a6a-9d84-1b24288d4588>2000-04-18 11:10:30 +0000
commit2352c52df50a0e84ec767954ef0c735281fb19cf (patch)
tree8fe6a3827a71b8fdf47e4531685b04363154a42d
parentbaf78eaa22b556e2810b229b065c86b48c373872 (diff)
Define USE_PETSC_DEBUG in the CFLAGS so enable PETSC's error-checking macros.
Now the EllPETSc routines should terminate cleanly if an error occurs in PETSc. git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@37 1d96b42b-98df-4a6a-9d84-1b24288d4588
-rw-r--r--src/make.code.defn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make.code.defn b/src/make.code.defn
index 121c70c..0f62e35 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -13,5 +13,5 @@ SYS_INC_DIRS += /usr/local/mpich/build/LINUX/ch_p4/include
SYS_INC_DIRS += $(PETSC_DIR) $(PETSC_DIR)/include \
$(PETSC_DIR)/bmake/$(PETSC_ARCH)
-
-
+# Define this to enable PETSC's error-checking macros
+CFLAGS += -DUSE_PETSC_DEBUG