<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffcc" text="#000066">
<tt>Tristan,<br>
<br>
I checked the openmpi-devel and they install mpicc in an unusual place
(/usr/lib/openmpi/1.2.5-gcc/bin/mpicc) and which only searches the
directories in the variable PATH. Since the directory where mpicc is
installed is not in the PATH, which will not work.<br>
<br>
Another thing is that we should only support OpenMpi in the RPM
package. As for RHEL4, we can build the openmpi RPMs.<br>
<br>
</tt>
<pre class="moz-signature" cols="72">Regards,

Marcos Eduardo Matsunaga

Oracle USA
Linux Engineering

“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
</pre>
<br>
<br>
tristan.ye wrote:
<blockquote
 cite="mid:1225420618.6631.12.camel@tristan-laptop.cn.oracle.com"
 type="cite">
  <pre wrap="">On Thu, 2008-10-30 at 12:32 -0700, Marcos Matsunaga wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Signed-off-by: Marcos Matsunaga <a class="moz-txt-link-rfc2396E" href="mailto:Marcos.Matsunaga@oracle.com">&lt;Marcos.Matsunaga@oracle.com&gt;</a>
---
 configure.in |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index 72a8e22..4249947 100644
--- a/configure.in
+++ b/configure.in
@@ -6,11 +6,13 @@ PACKAGE=ocfs2-test
 
 AC_SUBST(PACKAGE)
 
+MPICC=`rpm -qil openmpi-devel|grep mpicc|grep bin`
    </pre>
  </blockquote>
  <pre wrap=""><!---->did you wanna get a mpicc bin here? we may use 
MPICC=`which mpicc` in case the openmpi is installed by tarball,
if openmpi was installed by tarball,the mpicc should be
/usr/local/bin/mpicc
if openmpi was installed by rpm,its binary patch should be found out by
such 'rpm -qil openmpi|grep bin|...',then add to PATH env manually.

so by this way,we always get the mpicc path regardless of its
installation methods:)

  </pre>
  <blockquote type="cite">
    <pre wrap="">+INSTALLDIR=/usr/local
 # Adjust these for the software version.
-MAJOR_VERSION=0
+MAJOR_VERSION=1
 MINOR_VERSION=0
 MICRO_VERSION=1
-EXTRA_VERSION=
+EXTRA_VERSION=0
 
 # Adjust this only to bump the RPM packaging version
 RPM_VERSION=1
@@ -119,6 +121,7 @@ AM_PATH_PYTHON(2.3, , AC_MSG_ERROR([could not find Python 2.3 or higher.]))
 
 AC_CONFIG_FILES([
 Config.make
+vendor/common/ocfs2-test.spec-generic
 ])
 
 AC_OUTPUT
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>