aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: 7e21c8cd687ce64a83cfe93d6142c8680db298b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Main make.code.defn file for thorn CactusElliptic/EllPETSc
# $Header$


# check if this was configured with PETSc, bail out if not
have_petsc := $(shell grep -s '\#define CCTK_PETSC 1' $(CONFIG)/cctk_Extradefs.h)

ifeq ($(strip $(have_petsc)), )
$(NAME): MissingPETSC
    $(error"This configuration wasn't configured to use PETSc.  Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList.")
endif