<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16762" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=296151205-18122008><FONT face=Arial
color=#0000ff size=2>Just try logging out and log back in
again.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=296151205-18122008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=296151205-18122008><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Thomas
Blom<BR><B>Sent:</B> Wednesday, December 17, 2008 10:06 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] mpich2 / openmpi
conflicts on osx 10.5?<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR>I've successfully used mpich2 on windows and on a
couple of other osx machines, but having just built mpich2 from source on a
new mac pro I encounter difficulty when trying to run some mpi
programs.<BR><BR>OSX 10.5 ships with OpenMPI apparently, such that there are
mpi* programs in /usr/bin<BR><BR>I accepted the default when
configuring/building/installing mpich2, such that it gets installed to
/usr/local/bin<BR><BR>Once I realized that the wrong mpiexec was getting
called, I chose to "hide" the /usr/bin versions (not knowing otherwise how to
disable or uninstall the openmpi) by just creating a folder _mpi_hidden in
/usr/bin and placing all those mpi* programs in there.<BR><BR>Now when I type
"which mpiexec" it correctly states /usr/local/bin/mpiexec (the mpich2
installed version)<BR><BR>But when I try the example "mpiexec -n 3 hostname" I
get the error message<BR><BR>-bash: /usr/bin/mpiexec: No such file or
directory<BR><BR>I'm not clear about what's going on here. Is the python
mpiexec in /usr/local/bin trying to call the preexisting mpiexec in
/usr/bin?<BR><BR>The original mpiexec in /usr/bin reports this when run
without argument<BR><BR>mpiexec (OpenRTE) 1.2.3<BR><usage/flags
snipped><BR><BR>Thanks for any help untangling this problem. I'm not
sure why I didn't run into this problem on a new imac that was setup similarly
a couple months ago...Perhaps OS preinstalled on that system was an earlier
rev of 10.5. For whatever reason it does not have any mpi programs in
/usr/bin.<BR><BR>-thomas blom<BR>ices/ut
austin<BR><BR><BR><BR><BR><BR></BLOCKQUOTE></BODY></HTML>