Skip to content

Conversation

@jsquyres
Copy link
Member

Use -q option to grep/egrep to suppress output (we only need the exit status). Also, use egrep for the "use mpi" check, because some versions of ompi_info say bindings:use_mpi:yes and others say bindings:use_mpi:"yes (i.e., with the double quote). This regexp will work with both versions.

@ggouaillardet Please review. If acceptable, I'll add this to open-mpi/ompi-release#993 and open-mpi/ompi-release#994.

Use "-q" option to grep/egrep to suppress output (we only need the
exit status).  Also, use egrep for the "use mpi" check, because some
versions of ompi_info say 'bindings:use_mpi:yes' and others say
'bindings:use_mpi:"yes' (i.e., with the double quote).  This regexp
will work with both versions.
@jsquyres
Copy link
Member Author

jsquyres commented Mar 1, 2016

@ggouaillardet if you have a few seconds, please check out this PR. Thanks!

@ggouaillardet
Copy link
Contributor

👍

ggouaillardet added a commit that referenced this pull request Mar 1, 2016
examples: update ompi_info bindings checks
@ggouaillardet ggouaillardet merged commit 67e4502 into open-mpi:master Mar 1, 2016
@jsquyres jsquyres deleted the pr/egrep-for-examples-makefile branch March 1, 2016 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants