aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreschnett <eschnett@043a8217-7a68-40fe-abfd-36aa7d4fa6a8>2011-12-12 17:05:17 +0000
committereschnett <eschnett@043a8217-7a68-40fe-abfd-36aa7d4fa6a8>2011-12-12 17:05:17 +0000
commit283a5dfd6cba0795186199e9642908b2a7834e1b (patch)
treefc1d731fb1e106393ece497761f9876a45818bc1 /src
parent65657cc7ce92c88a25c06c02731e7949db849338 (diff)
Import OpenMPI as external library
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/MPI/trunk@2 043a8217-7a68-40fe-abfd-36aa7d4fa6a8
Diffstat (limited to 'src')
-rw-r--r--src/make.code.defn7
-rw-r--r--src/make.configuration.defn4
-rw-r--r--src/make.configuration.deps6
3 files changed, 17 insertions, 0 deletions
diff --git a/src/make.code.defn b/src/make.code.defn
new file mode 100644
index 0000000..ae2b14c
--- /dev/null
+++ b/src/make.code.defn
@@ -0,0 +1,7 @@
+# Main make.code.defn file for thorn OpenMPI
+
+# Source files in this directory
+SRCS =
+
+# Subdirectories containing source files
+SUBDIRS =
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
new file mode 100644
index 0000000..a577923
--- /dev/null
+++ b/src/make.configuration.defn
@@ -0,0 +1,4 @@
+# make.configuration.defn file for thorn OpenMPI
+
+# Define the relevant OpenMPI utilities
+#ALL_UTILS += mpirun ompi-clean ompi-iof ompi-ps ompi-server ompi_info orte-clean orte-iof orte-ps orted orterun
diff --git a/src/make.configuration.deps b/src/make.configuration.deps
new file mode 100644
index 0000000..2e90cbb
--- /dev/null
+++ b/src/make.configuration.deps
@@ -0,0 +1,6 @@
+# make.configuration.deps file for thorn OpenMPI
+
+$(UTIL_DIR)/%: $(OPENMPI_DIR)/bin/%
+ @echo "Copying $* from $< to $(UTIL_DIR)"
+ -$(MKDIR) $(MKDIRFLAGS) $(UTIL_DIR) 2> /dev/null
+ cp $< $@