<!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.2900.5659" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=818440721-16072008><FONT face=Arial><FONT size=2>The mpivars.sh 
and mpivars.csh scripts <SPAN class=161032519-16102008>(created by the RPM 
spec file) </SPAN>do not set the LD_LIBRARY_PATH, which means that mvapich<SPAN 
class=161032519-16102008>2</SPAN> programs may not run <SPAN 
class=161032519-16102008>or link </SPAN>unless the path is explicitly 
set. <SPAN class=161032519-16102008>A similar problem was found with 
mvapich earlier this year.</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=818440721-16072008><FONT face=Arial><FONT size=2><SPAN 
class=161032519-16102008></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=818440721-16072008><FONT face=Arial><FONT size=2><SPAN 
class=161032519-16102008>[mheinz@homer SRPMS]> diff -ud mvapich2.spec.orig 
mvapich2.spec<BR>--- mvapich2.spec.orig  2008-10-16 15:19:36.000000000 
-0400<BR>+++ mvapich2.spec       2008-10-16 
15:22:40.000000000 -0400<BR>@@ -126,6 +126,14 @@<BR>     set 
path = ( %{_prefix}/bin )<BR> endif<BR> <BR>+if ("1" == 
"\$?LD_LIBRARY_PATH") then<BR>+    if ("\$LD_LIBRARY_PATH" !~ 
*%{_prefix}/lib) then<BR>+        setenv 
LD_LIBRARY_PATH %{_prefix}/lib:\${LD_LIBRARY_PATH}<BR>+    
endif<BR>+else<BR>+    setenv LD_LIBRARY_PATH 
%{_prefix}/lib<BR>+endif<BR>+<BR> if (\$?MANPATH) 
then<BR>     if ( "\${MANPATH}" !~ *%{_prefix}/man* ) 
then<BR>        setenv MANPATH 
%{_prefix}/man:\$MANPATH<BR>@@ -140,6 +148,10 @@<BR>     
PATH=%{_prefix}/bin:\${PATH}<BR> fi<BR> <BR>+if ! echo 
\${LD_LIBRARY_PATH} | grep -q %{_prefix}/lib ; then<BR>+    
export LD_LIBRARY_PATH=%{_prefix}/lib:\${LD_LIBRARY_PATH} 
<BR>+fi<BR>+<BR> if ! echo \${MANPATH} | grep -q %{_prefix}/man ; 
then<BR>     
MANPATH=%{_prefix}/man:\${MANPATH}<BR> fi<BR></SPAN></FONT></FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>--</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Michael Heinz</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Principal Engineer, Qlogic 
Corporation</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>King of Prussia, 
Pennsylvania</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>