Skip to content

Commit 9e85fad

Browse files
committed
Added linking to libpthread for MPI compilation also
1 parent 3431040 commit 9e85fad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ AS_IF(
4646
AC_MSG_NOTICE([MPI use is enabled, checking compilation with MPI is possible])
4747
AC_CHECK_HEADER(mpi.h, [], [AC_MSG_FAILURE([["Cannot find MPI header"]])] )
4848
AC_DEFINE([USE_MPI],[1],[Use MPI])
49+
LIBS+="-lpthread"
4950
],
5051
[test "x$enable_mpi" == "xno"], [
5152
AC_MSG_NOTICE([MPI use is disabled])

0 commit comments

Comments
 (0)