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
dkrz-sw
sct
Commits
66dc03f9
Commit
66dc03f9
authored
Nov 04, 2019
by
Sergey Kosukhin
Browse files
Get the basename of MPI_LAUNCH more carefully.
parent
595f8d17
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
66dc03f9
...
...
@@ -183,7 +183,9 @@ AS_IF([test x"$mpi" != xfalse],
[AC_MSG_WARN([check for MPI_LAUNCH disabled])],
[AC_PATH_PROGS([MPI_LAUNCH], [poe mpirun mpiexec], [true])
# set MP_HOSTFILE if we are using IBM PE
if test x"$(basename $ac_cv_path_MPI_LAUNCH)" == x"poe"; then
# $ac_cv_path_MPI_LAUNCH can be a command with arguments:
set dummy $ac_cv_path_MPI_LAUNCH
if test x"$(basename $[2])" == x"poe"; then
# create tmp hostfile and export envVar MP_HOSTFILE
# to enable compiler check for MPI compiler in case of IBM PE
if test -z "${MP_HOSTFILE}"; then
...
...
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