summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/make/extras/MPI/NATIVE13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/make/extras/MPI/NATIVE b/lib/make/extras/MPI/NATIVE
index 64bcc3c1..023ccc63 100644
--- a/lib/make/extras/MPI/NATIVE
+++ b/lib/make/extras/MPI/NATIVE
@@ -6,13 +6,18 @@
# @desc
#
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/extras/MPI/NATIVE,v 1.2 1999-07-21 12:52:55 goodale Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/extras/MPI/NATIVE,v 1.3 2000-04-04 10:01:33 tradke Exp $
# @@*/
echo "Native MPI selected"
# This should be filled out by the know-architecture stuff.
-: ${MPI_LIBS=""}
-: ${MPI_LIB_DIRS=""}
-: ${MPI_INC_DIRS=""}
+if test -z "$NATIVE_MPI_LIBS" ; then
+ echo "ERROR: NATIVE MPI selected, but this architecture has no native MPI"
+ exit 2
+fi
+
+MPI_LIBS=$NATIVE_MPI_LIBS
+MPI_LIB_DIRS=${NATIVE_MPI_LIB_DIRS:-""}
+MPI_INC_DIRS=${NATIVE_MPI_INC_DIRS:-""}