aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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"