Bugfix: Windows scotch compilation

This commit is contained in:
Hrvoje Jasak 2015-09-18 12:19:45 +01:00
parent 67bc2639e1
commit e22b7afdfe
2 changed files with 2 additions and 1 deletions

View file

@ -105,7 +105,7 @@ export PARMGRIDGEN_INCLUDE_DIR=$PARMGRIDGEN_DIR/include
# System installed Scotch # System installed Scotch
#export SCOTCH_SYSTEM=1 #export SCOTCH_SYSTEM=1
export SCOTCH_DIR=$WM_THIRD_PARTY_DIR/packages/scotch_6.0.0 export SCOTCH_DIR=$WM_THIRD_PARTY_DIR/packages/scotch_6.0.4
export SCOTCH_BIN_DIR=$SCOTCH_DIR/bin export SCOTCH_BIN_DIR=$SCOTCH_DIR/bin
export SCOTCH_LIB_DIR=$SCOTCH_DIR/lib export SCOTCH_LIB_DIR=$SCOTCH_DIR/lib
export SCOTCH_INCLUDE_DIR=$SCOTCH_DIR/include export SCOTCH_INCLUDE_DIR=$SCOTCH_DIR/include

View file

@ -17,6 +17,7 @@ LIB_LIBS = \
-ldecompositionMethods \ -ldecompositionMethods \
-L$(SCOTCH_LIB_DIR) -lscotch \ -L$(SCOTCH_LIB_DIR) -lscotch \
-L$(SCOTCH_LIB_DIR) -lscotcherrexit \ -L$(SCOTCH_LIB_DIR) -lscotcherrexit \
-L$(WM_THIRD_PARTY_DIR)/packages/pthreads-w32-2-9-1-release/Pre-built.2/lib/x64 -lpthreadGC2 \
-L$(OPENMPI_DIR)/lib -lmpi -L$(OPENMPI_DIR)/lib -lmpi
#else #else