mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
configuration with metis path
This commit is contained in:
parent
9574c3d649
commit
215b700c72
10
configure.ac
10
configure.ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user