<!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>Mine I got from the repository. <br>
<br>
up2date -i openmpi openmpi-devel openmpi-libs<br>
<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>
Joel Becker wrote:
<blockquote cite="mid:20081104022952.GA16483@mail.oracle.com"
 type="cite">
  <pre wrap="">Where did you get your openmpi package?  What's its entire name.
configure.in should not be looking at rpm output.  At all.

Joel

On Tue, Nov 04, 2008 at 09:42:01AM +0800, tristan.ye wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Mon, 2008-11-03 at 17:53 -0500, Marcos E. Matsunaga wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">hmm.. This is really interesting. 

I just re-installed openmpi on my OEL5 home machine and it does
install on 
/usr/lib/openmpi/1.2.5-gcc/bin/mpicc and it doesn't link to /usr/bin.
      </pre>
    </blockquote>
    <pre wrap="">Yes marcos, I definitely got the same situation as you on OEL5 box,it
only was installed under /usr/lib/openmpi/1.2.5-gcc/bin . I manually
touch a symlink to /usr/bin or add the path to PATH to make it visible
in that case.

So we may check the MPICC as following;

rpm -qa|grep -q openmpi
RC=$?

if [ "${RC}" = "0" ];then            #from RPM installation
        MPICC=`rpm -qil openmpi-devel|grep mpicc|grep bin`
        if [ ! -f ${MPICC} ];then    #maybe it will show up under /usr/bin like
Joel said
                MPICC=`which mpicc`
        fi
else                                        #from SRC installation
        MPICC=`which mpicc`
fi

Regards,
Tristan
        
    </pre>
    <blockquote type="cite">
      <pre wrap="">But that's fine. I'll make the changes so that it will not check for RPM, but MPI.
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.”


Joel Becker wrote: 
      </pre>
      <blockquote type="cite">
        <pre wrap="">On Fri, Oct 31, 2008 at 10:04:42AM -0400, Marcos E. Matsunaga wrote:
  
        </pre>
        <blockquote type="cite">
          <pre wrap="">Tristan,

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.
    
          </pre>
        </blockquote>
        <pre wrap="">        Um, I found it in /usr/bin on my el5 box.  It's linked to
/etc/alternatives/mpicc, which points back out to
/usr/bin/opal_wrapper-32.  But the point is that mpicc is in the PATH on
at least powerpc.  This is openmpi-devel-1.1.5-5.el5.

  
        </pre>
        <blockquote type="cite">
          <pre wrap="">Another thing is that we should only support OpenMpi in the RPM package.
As for RHEL4, we can build the openmpi RPMs.
    
          </pre>
        </blockquote>
        <pre wrap="">        And Tristan is right, we should be supporting MPI out of
packages other than the RPM.  We're not RedHat/OEL only.
        For building RPMs (which are vendor-specific), you want to have
openmpi-devel in the BuildRequires.

Joel

  
        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>