aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: 75357f224bce919ad61fa82ad0d4269e172a26de (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 -l CCTK_MPI $(CONFIG)/cctk_Extradefs.h)
ifneq ("$(MPI_CONFIGURED)", "$(CONFIG)/cctk_Extradefs.h")
.pseudo: MissingMPIinIOPanda
MissingMPIinIOPanda:
	@echo "IOPanda: requires MPI"
	@echo "IOPanda: Please configure with MPI or remove IOPanda from Thornlist !"
	exit 2
endif