aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: d2ad580c3181b8684ffe6281d483a1c50b40951d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# make.configuration.defn for IOPanda

# make sure that IOPanda was configured with PUGH and MPI

ifeq ($(findstring CactusPUGH/PUGH,$(THORNS)),)
.pseudo: MissingPUGHinIOPanda
MissingPUGHinIOPanda:
	@echo "IOPanda: requires PUGH"
	@echo "IOPanda: Please add CactusPUGH/PUGH or remove IOPanda from Thornlist !"
	exit 2
endif

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"
	@echo "IOPanda: Please configure with MPI or remove IOPanda from Thornlist !"
	exit 2
endif