Skip to content

Commit

Permalink
o Add library search path to MPI without wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
wtjones1 committed Oct 4, 2022
1 parent 846c405 commit 1036610
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,14 @@ then

else
# when wrapper is missing (i.e. sgi mpt) link with -lmpi
mpi_ldadd=-lmpi
mpi_ldadd="-L${with_mpi}/lib -lmpi"
fi
AC_SUBST([MPICC])
AC_SUBST([mpi_ldadd])

AM_CONDITIONAL(BUILD_MPI,true)
else
AC_MSG_WARN([MPI library installation not found, use --with-mpi])
AM_CONDITIONAL(BUILD_MPI,false)
fi

Expand Down

0 comments on commit 1036610

Please sign in to comment.