diff options
Diffstat (limited to 'src/make.configuration.deps')
-rw-r--r-- | src/make.configuration.deps | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/make.configuration.deps b/src/make.configuration.deps new file mode 100644 index 0000000..a75b2a3 --- /dev/null +++ b/src/make.configuration.deps @@ -0,0 +1,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 |