From ada4194aecc3f5c7468217a0515b306088ec0b81 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Tue, 19 Aug 2008 07:20:07 +0000
Subject: [PATCH] * changed Makefile for compiling MPI programs on deimos

---
 demo/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/demo/Makefile b/demo/Makefile
index e8fbb1d7..86418a8b 100644
--- a/demo/Makefile
+++ b/demo/Makefile
@@ -15,7 +15,7 @@ USE_MPCCI = 0
 DEBUG = 0
 
 AMDIS_DIR = /usr/local/AMDiS
-MPI_DIR =
+MPI_DIR =                   # on mars, deimos or themisto, leave this field blank
 SMI_DIR = 
 MPCCI_DIR = 
 
@@ -60,6 +60,7 @@ else
 		UMFPACK_LIB += $(MKL_LIB) -lmkl -lguide -lpthread -lumfpack -lamd
 	else	
 		ifeq ($(strip $(USE_SERVER)), deimos)
+			MPI_DIR = /licsoft/libraries/openmpi/1.2.6/64bit
 			UMFPACK_LIB += -lumfpack -lamd -L/licsoft/libraries/goto -lgoto -lpthread
 		else
 			UMFPACK_LIB += -lblas -lumfpack -lamd
@@ -112,7 +113,7 @@ ifeq ($(strip $(USE_PARALLEL_AMDIS)), 1)
 		COMPILE = $(MPI_DIR)/bin/mpiCC
 	endif
 
-	LIBS += $(PARMETIS_LIB) -lmpi++ -lmpi
+	LIBS += $(PARMETIS_LIB) -lmpi
 else
 	ifeq ($(strip $(USE_COMPILER)), gcc)
 		COMPILE = g++
-- 
GitLab