Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
0d1a109b
Commit
0d1a109b
authored
Aug 22, 2013
by
Pedro Gonnet
Browse files
added node repartitioning based on graph partition with METIS.
Former-commit-id: a67cae9aae90ab7db67e974a1f33734d30a2e11e
parent
c649b9e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
0d1a109b
...
...
@@ -69,6 +69,25 @@ AC_ARG_ENABLE([mpi],
AM_CONDITIONAL([HAVEMPI],[test -n "$MPICC"])
# Check for metis
AC_ARG_WITH([metis],
[AS_HELP_STRING([--with-metis=PATH],[prefix where the metis library is installed @<:@default=yes@:>@])],
[if test "x$with_metis" != "xno"
then
if test "x$with_metis" != "xyes" -a "x$with_metis" != "x"
then
METIS_LDFLAGS="-L$with_metis -lmetis"
else
METIS_LDFLAGS="-lmetis"
fi
AC_CHECK_LIB([metis],[METIS_PartGraphKway],,AC_MSG_ERROR(something is wrong with the metis library!),$METIS_LDFLAGS)
AC_DEFINE([HAVE_METIS],[true],[The metis library appears to be present.])
AC_DEFINE(WITH_METIS, 1, [METIS library installed])
fi])
AC_SUBST(METIS_LDFLAGS)
AM_CONDITIONAL([HAVEMETIS],[test -n "$METIS_LDFLAGS"])
# check for zlib
AC_CHECK_LIB(z,gzopen,[
AC_DEFINE([HAVE_LIBZ],[1],[Set to 1 if zlib is installed.])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment