From 639e587b88e15d9dcacb3be8f4ab81bcd93e81da Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 19 Aug 2002 11:03:35 +0000 Subject: Added 'mpi++' to the MPI_LIBS variable if this library exists as a separate one (like on modi4). This lets the IOPanda thorn compile and link there. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2962 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/known-architectures/irix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/make/known-architectures/irix b/lib/make/known-architectures/irix index 0d24eb3c..1ea1f1de 100644 --- a/lib/make/known-architectures/irix +++ b/lib/make/known-architectures/irix @@ -6,7 +6,7 @@ # @desc # Known architectures file for SGI Irix systems # @enddesc -# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/irix,v 1.33 2002-05-29 12:35:39 tradke Exp $ +# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/irix,v 1.34 2002-08-19 11:03:35 tradke Exp $ # @@*/ if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then @@ -145,7 +145,11 @@ else # MPI stuff if test -n "$MPI" ; then - NATIVE_MPI_LIBS='mpi' + if test -e "/usr/lib${IRIX_BITS}/libmpi++.so" ; then + NATIVE_MPI_LIBS='mpi mpi++' + else + NATIVE_MPI_LIBS='mpi' + fi fi fi -- cgit v1.2.3