summaryrefslogtreecommitdiff
path: root/pcr/openfoam3.0-git/scotch-options.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openfoam3.0-git/scotch-options.patch')
-rw-r--r--pcr/openfoam3.0-git/scotch-options.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/openfoam3.0-git/scotch-options.patch b/pcr/openfoam3.0-git/scotch-options.patch
new file mode 100644
index 000000000..e363feb06
--- /dev/null
+++ b/pcr/openfoam3.0-git/scotch-options.patch
@@ -0,0 +1,17 @@
+--- src/OpenFOAM-3.0.x/src/parallel/decompose/ptscotchDecomp/Make/options
++++ src/OpenFOAM-3.0.x/src/parallel/decompose/ptscotchDecomp/Make/options
+@@ -9,4 +9,4 @@ EXE_INC = \
+ -I../decompositionMethods/lnInclude
+
+ LIB_LIBS = \
+- -L$(SCOTCH_ROOT)/lib -L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) -lptscotch -lptscotcherrexit -lscotch ${LINK_FLAGS} -lrt
++ -L$(SCOTCH_ROOT)/lib -L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) -lptscotch -lscotch -lptscotcherrexit -lscotcherrexit ${LINK_FLAGS} -lbz2 -lrt
+--- src/OpenFOAM-3.0.x/src/parallel/decompose/scotchDecomp/Make/options
++++ src/OpenFOAM-3.0.x/src/parallel/decompose/scotchDecomp/Make/options
+@@ -13,4 +13,4 @@ EXE_INC = \
+ -I../decompositionMethods/lnInclude
+
+ LIB_LIBS = \
+- -L$(SCOTCH_ROOT)/lib -L$(FOAM_EXT_LIBBIN) -lscotch -lscotcherrexit -lrt
++ -L$(SCOTCH_ROOT)/lib -L$(FOAM_EXT_LIBBIN) -lscotch -lscotcherrexit -lbz2 -lrt
+