summaryrefslogtreecommitdiff
path: root/lib/make/extras
diff options
context:
space:
mode:
authorswhite <swhite@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-07-29 11:43:24 +0000
committerswhite <swhite@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-07-29 11:43:24 +0000
commite9e23177efa971499ec29c1906f886a430a78109 (patch)
treec3dbe59687090f4382a586df5c961224143c0465 /lib/make/extras
parentc706f934d8c104fee35d74d1f7f153133cf70964 (diff)
Add liblammpi++ to the library link list if it is found.
Needed by Carpet and GZPatchSystem git-svn-id: http://svn.cactuscode.org/flesh/trunk@4360 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/extras')
-rw-r--r--lib/make/extras/MPI/LAM6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/make/extras/MPI/LAM b/lib/make/extras/MPI/LAM
index 98005d43..ebf57fc4 100644
--- a/lib/make/extras/MPI/LAM
+++ b/lib/make/extras/MPI/LAM
@@ -6,7 +6,7 @@
# @desc
# Configure Cactus to compile with the LAM version of MPI.
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/extras/MPI/LAM,v 1.12 2006-06-08 15:21:52 swhite Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/extras/MPI/LAM,v 1.13 2006-07-29 11:43:24 swhite Exp $
# @@*/
echo ' LAM selected'
@@ -84,6 +84,10 @@ if test -r "$LAM_LIB_DIR/libtrillium.a" ; then
else
MPI_LIBS='mpi lam dl pthread'
+ if test -r "$LAM_LIB_DIR/liblammpi++.a" ; then
+ MPI_LIBS="$MPI_LIBS lammpi++"
+ fi
+
# if a LAM config header file exists, extract possible device libs and libdirs
lam_config_file="$LAM_DIR/include/lam_config.h"
if test -r "$lam_config_file" ; then