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
9db3a46c
Commit
9db3a46c
authored
Aug 17, 2015
by
Peter W. Draper
Browse files
Fix problem configuring without an MPI
Former-commit-id: 109682c3f976c1ddafa3b4aa540ad07c082479d7
parent
23ee32ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
9db3a46c
...
...
@@ -67,6 +67,7 @@ if test "$enable_mpi" = "yes"; then
AC_PATH_PROG([MPIRUN],[mpirun],[notfound])
if test "$MPIRUN" = "notfound"; then
AC_MSG_WARN([Cannot find mpirun command on PATH, thread support may not be correct])
enable_mpi="no"
else
# Special options we know about.
# Intel: -mt_mpi
...
...
@@ -105,9 +106,7 @@ if test "$enable_mpi" = "yes"; then
AC_SUBST([MPI_THREAD_LIBS])
fi
fi
AM_CONDITIONAL([HAVEMPI],[test -n "$MPICC"])
AM_CONDITIONAL([HAVEMPI],[test $enable_mpi = "yes"])
# Need C99 and inline support.
AC_PROG_CC_C99
...
...
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