aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: 5457011f291f9cc326031dd30ed902fc357d1875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# make.configuration.defn for IOPanda
# $Header$

# make sure that IOPanda was configured with PUGH and MPI

ifeq ($(findstring CactusPUGH/PUGH,$(THORNS)),)
  $(error "IOPanda requires PUGH. Please add CactusPUGH/PUGH or remove IOPanda from Thornlist !")
endif

MPI_CONFIGURED := $(shell grep -l CCTK_MPI $(CONFIG)/cctk_Extradefs.h)
ifneq ("$(MPI_CONFIGURED)", "$(CONFIG)/cctk_Extradefs.h")
  $(error "IOPanda requires MPI. Please configure with MPI or remove IOPanda from Thornlist !")
endif