Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
902dd86e
Unverified
Commit
902dd86e
authored
Jun 22, 2016
by
Andreas Marek
Browse files
Configure.ac: check for different MPI binaries
parent
30bb27d8
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
902dd86e
...
...
@@ -352,7 +352,7 @@ endif
# test scripts
MPIEXEC
?=
mpiexec
-n
2
MPIEXEC
?=
$(MPI_BINARY)
-n
2
if
WITH_MPI
wrapper
=
$(MPIEXEC)
else
...
...
configure.ac
View file @
902dd86e
...
...
@@ -114,6 +114,14 @@ if test x"${enable_openmp}" = x"yes"; then
FCFLAGS="$OPENMP_FCFLAGS $FCFLAGS"
fi
dnl check which MPI binray invokes a MPI job
if test x"$with_mpi" = x"yes"; then
AC_CHECK_PROGS([MPI_BINARY], [mpiexec.hydra mpiexec mpirun], [no])
if test x"$MPI_BINARY" = x"no"; then
AC_MSG_ERROR([Could not find either of the MPI binaries: mpiexec.hydra, mpiexec, mpirun])
fi
fi
## C++
#AC_LANG([C++])
#AC_PROG_CXX
...
...
@@ -857,6 +865,7 @@ if test x"${DESPERATELY_WANT_ASSUMED_SIZE}" = x"yes" ; then
AC_DEFINE([DESPERATELY_WANT_ASSUMED_SIZE],[1],[use assumed size Fortran arrays, even if not debuggable])
fi
AC_SUBST([MPI_BINARY])
AC_SUBST([WITH_MKL])
AC_SUBST([WITH_BLACS])
AC_SUBST([with_amd_bulldozer_kernel])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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