[cgma-dev] [PATCH] Make it possible to build with MPI

Jed Brown jed at 59A2.org
Sat Sep 18 06:31:38 CDT 2010


---
 geom/parallel/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/geom/parallel/Makefile.am b/geom/parallel/Makefile.am
index 5124591..c275c3e 100644
--- a/geom/parallel/Makefile.am
+++ b/geom/parallel/Makefile.am
@@ -4,6 +4,10 @@ AM_CPPFLAGS += -I$(top_srcdir)/util \
 	       -I$(ACIS_DIR)/include \
                $(MPI_INCLUDE)
 
+if USE_MPI
+  AM_CPPFLAGS += -DUSE_MPI
+endif
+
 # The name of the library to build
 noinst_LTLIBRARIES = 
 if BUILD_CGM
-- 
1.7.2.3



More information about the cgma-dev mailing list