configuration metis path

This commit is contained in:
Joachim Schoeberl 2012-10-04 11:58:37 +00:00
parent 215b700c72
commit 2aa04e7dd5

View File

@ -88,11 +88,12 @@ AC_ARG_WITH([metis],
[metisdir=$withval], [metisdir=$withval],
[metisdir=/usr/local] [metisdir=/usr/local]
) )
echo "metisdir = $metisdir"
AC_ARG_ENABLE([parallel], AC_ARG_ENABLE([parallel],
[AC_HELP_STRING([--enable-parallel],[enable mpi parallelization])], [AC_HELP_STRING([--enable-parallel],[enable mpi parallelization])],
[AC_SUBST([MPI_INCLUDES], "-DPARALLEL -I$(metisdir)/include -DMETIS")] [AC_SUBST([MPI_INCLUDES], "-DPARALLEL -I$metisdir/include -DMETIS")]
[AC_SUBST([MPI_LIBS], "-L$(metisdir)/lib -lmetis")] [AC_SUBST([MPI_LIBS], "-L$metisdir/lib -lmetis")]
) )
# -DVTRACE # -DVTRACE
# -lvt-hyb # -lvt-hyb