aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: b0515211ce6ed6ef8248f537b12bb0d179e040f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# make.configuration.defn for IOPanda

# make sure that IOPanda was configured in with MPI, PUGH, and IEEEIO

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

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

ifeq ($(strip $(MPI_LIBS)), )
$(NAME): MissingMPIinIOPanda
.pseudo: MissingMPIinIOPanda
MissingMPIinIOPanda:
	@echo "IOPanda: requires MPI"
	@echo "IOPanda: Please configure with MPI or remove IOPanda from Thornlist !"
	exit 2
endif