Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 6c9e0b5

Browse files
committed
examples: fix check for Fortran "use mpi" bindings
The output from "ompi_info --parsable" for the Fortran "use mpi" bindings apparently has changed over time. It is now: "yes (full: ignore TKR)" or "yes (limited: overloading)" (including the quotes) So update the test in examples/Makefile to also look for the quote. (cherry picked from commit open-mpi/ompi@20fade1)
1 parent 7f1300d commit 6c9e0b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# Copyright (c) 2004-2005 The Regents of the University of California.
1111
# All rights reserved.
1212
# Copyright (c) 2006-2007 Sun Microsystems, Inc. All rights reserved.
13-
# Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved.
13+
# Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved.
1414
# Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved.
1515
# Copyright (c) 2013 Mellanox Technologies, Inc. All rights reserved.
1616
# $COPYRIGHT$
@@ -90,7 +90,7 @@ mpi:
9090
@ if ompi_info --parsable | grep bindings:mpif.h:yes >/dev/null; then \
9191
$(MAKE) hello_mpifh ring_mpifh; \
9292
fi
93-
@ if ompi_info --parsable | grep bindings:use_mpi:yes >/dev/null; then \
93+
@ if ompi_info --parsable | grep bindings:use_mpi:\"yes >/dev/null; then \
9494
$(MAKE) hello_usempi ring_usempi; \
9595
fi
9696
@ if ompi_info --parsable | grep bindings:use_mpi_f08:yes >/dev/null; then \

0 commit comments

Comments
 (0)