Skip to content

Commit 81978c8

Browse files
committed
netloc: add libraries for using Scotch
With specific compilation options, Scotch needs extra libraries. These libraries have been added to the link flags when using Scotch. Signed-off-by: Cyril Bordage <[email protected]>
1 parent 7260d9c commit 81978c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/netloc/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2016 Inria. All rights reserved.
1+
# Copyright © 2016-2017 Inria. All rights reserved.
22
#
33
# See COPYING in top-level directory.
44
#
@@ -11,7 +11,7 @@ AM_LDFLAGS = $(NETLOC_LDFLAGS) -lpthread
1111

1212
LDADD = $(top_builddir)/netloc/libnetloc.la \
1313
$(top_builddir)/netloc/libnetlocscotch.la \
14-
-lscotch -lscotcherr
14+
-lscotch -lscotcherr -lm -lpthread
1515

1616
EXTRA_DIST = \
1717
data/tests_extract.txt \

utils/netloc/mpi/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2016 Inria. All rights reserved.
1+
# Copyright © 2016-2017 Inria. All rights reserved.
22
#
33
# See COPYING in top-level directory.
44
#
@@ -39,5 +39,5 @@ netloc_mpi_rank_file_SOURCES = \
3939
netloc_mpi_rank_file_LDADD = \
4040
$(top_builddir)/netloc/libnetloc.la \
4141
$(top_builddir)/netloc/libnetlocscotch.la \
42-
-lscotch -lscotcherr
42+
-lscotch -lscotcherr -lm -lpthread
4343
endif

0 commit comments

Comments
 (0)