aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001>2000-09-29 22:19:33 +0000
committertradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001>2000-09-29 22:19:33 +0000
commitb7035ac50815c2f081a6130b3cd29c9c3533d4ab (patch)
tree7e58fc42ea370e7127dbe6078a5e4cdf07518e41 /src
parent23fbd747717ea7ad2186bd743e56bae5dc9977ed (diff)
Fixed dependency checking for MPI.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@15 38c3d835-c875-442e-b0fe-21c19ce1d001
Diffstat (limited to 'src')
-rw-r--r--src/make.configuration.defn4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
index 5fe526e..d2ad580 100644
--- a/src/make.configuration.defn
+++ b/src/make.configuration.defn
@@ -10,8 +10,8 @@ MissingPUGHinIOPanda:
exit 2
endif
-ifeq ($(strip $(MPI_LIBS)), )
-$(NAME): MissingMPIinIOPanda
+MPI_CONFIGURED := $(shell grep CCTK_MPI $(CONFIG)/cctk_Extradefs.h)
+ifneq ("$(MPI_CONFIGURED)", "\#define CCTK_MPI CCTK_MPI")
.pseudo: MissingMPIinIOPanda
MissingMPIinIOPanda:
@echo "IOPanda: requires MPI"