configuration with metis path

This commit is contained in:
Joachim Schoeberl 2012-10-04 11:43:21 +00:00
parent 9574c3d649
commit 215b700c72

View File

@ -83,12 +83,16 @@ AC_ARG_ENABLE([gui],
[AC_HELP_STRING([--disable-gui],[don't build netgen with GUI])],
[if test "$enableval" = yes; then ngguion=true; else ngguion=false; fi])
AC_ARG_WITH([metis],
[AC_HELP_STRING([--with-metis=dir],[path to metis 5.x])],
[metisdir=$withval],
[metisdir=/usr/local]
)
AC_ARG_ENABLE([parallel],
[AC_HELP_STRING([--enable-parallel],[enable mpi parallelization])],
[AC_SUBST([MPI_INCLUDES], "-DPARALLEL -I/usr/local/include/METISLib -I/usr/include/metis -DMETIS")
AC_SUBST([MPI_LIBS], "-lmetis")
]
[AC_SUBST([MPI_INCLUDES], "-DPARALLEL -I$(metisdir)/include -DMETIS")]
[AC_SUBST([MPI_LIBS], "-L$(metisdir)/lib -lmetis")]
)
# -DVTRACE
# -lvt-hyb