aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.deps
blob: a75b2a3a9358a852db8b903dbd6753f12d36616a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# /*@@
#   @file      make.configuration.deps
#   @date      Fri May 17 02:53:09 2002
#   @author    Tom Goodale
#   @desc 
#   Extra checks for IOPanda
#   @enddesc 
#   @version $Header$
# @@*/

update: panda_check

.PHONY: panda_check

panda_check:
	if test -z "$(findstring CactusPUGH/PUGH,$(THORNS))" ; then                                    \
	  echo "IOPanda requires PUGH. Please add CactusPUGH/PUGH or remove IOPanda from Thornlist !"; \
	  exit 2;                                                                                      \
        fi
	if test -z "`grep CCTK_MPI $(CONFIG)/cctk_Extradefs.h`" ; then                                 \
	  echo "IOPanda requires MPI. Please configure with MPI or remove IOPanda from Thornlist !";   \
	  exit 2;                                                                                      \
	fi