From ce4302716d3da6164a5fd8924d3b1ab1dbfad457 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Mon, 11 Apr 2011 13:37:02 +0100 Subject: [PATCH] ENH: scotchDecomp: add mpi compilation since scotch.h seems to include mpi.h --- src/parallel/decompose/scotchDecomp/Make/options | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/parallel/decompose/scotchDecomp/Make/options b/src/parallel/decompose/scotchDecomp/Make/options index 8397463ae5f..a198db40af8 100644 --- a/src/parallel/decompose/scotchDecomp/Make/options +++ b/src/parallel/decompose/scotchDecomp/Make/options @@ -1,4 +1,11 @@ +# Note including of mplib compilation rules. This +# is purely to avoid scotch.h including mpicxx.h +# which causes problems. +sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) +sinclude $(RULES)/mplib$(WM_MPLIB) + EXE_INC = \ + $(PFLAGS) $(PINC) \ -I$(SCOTCH_ARCH_PATH)/include \ -I/usr/include/scotch \ -I../decompositionMethods/lnInclude -- GitLab