From: <den...@us...> - 2010-07-24 15:46:02
|
Revision: 227 http://stdair.svn.sourceforge.net/stdair/?rev=227&view=rev Author: denis_arnaud Date: 2010-07-24 15:45:56 +0000 (Sat, 24 Jul 2010) Log Message: ----------- [Config] Fixed the look-up procedure for the Open MPI ompi_info utility. Modified Paths: -------------- trunk/stdair/config/openmpi.m4 Modified: trunk/stdair/config/openmpi.m4 =================================================================== --- trunk/stdair/config/openmpi.m4 2010-07-23 12:15:17 UTC (rev 226) +++ trunk/stdair/config/openmpi.m4 2010-07-24 15:45:56 UTC (rev 227) @@ -132,7 +132,7 @@ # Look for OpenMPI configuration # # OpenMPI configuration binary - OPENMPI_VERBIN1=ompi_info + OPENMPI_VERBIN=ompi_info AC_MSG_CHECKING([for OpenMPI configuration]) OPENMPI_verdir= @@ -169,7 +169,7 @@ # Derive the full version, e.g., 1.3.3 if test ! -z "$OPENMPI_verdir" then - OPENMPI_VERSION=`${OPENMPI_verdir}/${OPENMPI_VERBIN} | grep "Open MPI:" | cut -d: -f2 | cut -d\ -f2` + OPENMPI_VERSION=`${OPENMPI_verdir}/${OPENMPI_VERBIN} -v ompi full | grep "Open MPI:" | cut -d: -f2 | cut -d\ -f2` fi if test -z "${OPENMPI_VERSION}" ; then OPENMPI_VERSION=${OPENMPI_DEF_VERSION} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |