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.
Этот коммит содержится в:
родитель
78a1fd5d54
Коммит
20fade1345
@ -10,7 +10,7 @@
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2006-2007 Sun Microsystems, Inc. All rights reserved.
|
||||
# Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved.
|
||||
# Copyright (c) 2013 Mellanox Technologies, Inc. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
@ -90,7 +90,7 @@ mpi:
|
||||
@ if ompi_info --parsable | grep bindings:mpif.h:yes >/dev/null; then \
|
||||
$(MAKE) hello_mpifh ring_mpifh; \
|
||||
fi
|
||||
@ if ompi_info --parsable | grep bindings:use_mpi:yes >/dev/null; then \
|
||||
@ if ompi_info --parsable | grep bindings:use_mpi:\"yes >/dev/null; then \
|
||||
$(MAKE) hello_usempi ring_usempi; \
|
||||
fi
|
||||
@ if ompi_info --parsable | grep bindings:use_mpi_f08:yes >/dev/null; then \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user