summaryrefslogtreecommitdiff
path: root/lib/make
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-21 10:35:11 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-21 10:35:11 +0000
commit1a381dc3c09bee6d5a6e4845e5e19ebf08260968 (patch)
tree90ca5abe727e28fe338ea6d7d404ede2ce9a714e /lib/make
parent3aa8a812527b1b9a18146a6fa9ee5ff66557838c (diff)
Move MPI support from flesh to a thorn
Move MPI support from flesh to thorn ExternalLibraries/MPI. This also requires thorns that call MPI directly to declare this in their configuration.ccl. Existing configurations using MPI need to include ExternalLibraries/MPI into their thorn list. * Declare that the flesh optionally uses MPI (because it needs to call MPI_Init) * Update test case mechanism to find out whether MPI is used * Handle configuration bindings for flesh * Don't special-case Crays any more when configuring Linux git-svn-id: http://svn.cactuscode.org/flesh/trunk@4847 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make')
-rw-r--r--lib/make/known-architectures/linux8
-rw-r--r--lib/make/make.thornlib6
2 files changed, 2 insertions, 12 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index f79f9662..29a36188 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -9,12 +9,6 @@
# @version $Header$
# @@*/
-if test -e "/usr/bin/aprun" ; then
- echo "This is probably a Cray XT4 series system."
- echo "Using known-architectures xt4-cray-linux"
- . $srcdir/known-architectures/xt4-cray-linux
-else
-
if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then
@@ -611,5 +605,3 @@ else
# This is caught by lib/make/extras/MPI/NATIVE then.
fi
-
-fi
diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib
index 2a174598..f6f640ee 100644
--- a/lib/make/make.thornlib
+++ b/lib/make/make.thornlib
@@ -22,17 +22,15 @@ endif
# Include the main make definitions for this configuration
include $(CONFIG)/make.config.defn
-
+
BINDINGS_DIR=$(TOP)/bindings
# Include the configuration make.THORN_NAME.defn for the thorn
-# if it is not Cactus or CactusBindings
+# if it is not CactusBindings
INC_DIRS =
ifneq ($(THORN), CactusBindings)
-ifneq ($(THORN), Cactus)
-include $(BINDINGS_DIR)/Configuration/Thorns/make.$(THORN).defn
endif
-endif
# Add appropriate include lines
INC_DIRS += $(SYS_INC_DIRS) $(SRCDIR) $(SRCDIR)/include $(CONFIG) $(BINDINGS_DIR)/include $(CCTK_HOME)/src/include $(CCTK_HOME)/arrangements $(BINDINGS_DIR)/Configuration/Thorns $(BINDINGS_DIR)/include/$(THORN)