<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Hi Anthony,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>I agree the problem is not with mpe. I'm
clearly doing something wrong with linking or perhaps the run-time linker isn't
linking things in the proper order. I use the term dll as a generic term for
"dynamic linked library", on linux they have a .so suffix and on
windows .dll. I'm working in linux. I have a dll and an executable. The
executable is launched by mpiexec, run from another program, all environemnt
variables are passed in and the program runs correctly. There are simply no log
files created either in /tmp or in the working directory. if I do nm [binary
file] | c++filt | grep -i mpe | wc -l, I get 50 on both the dll and the
executable file (same results for cpi as well), meaning there are 50 symbols
with MPE_ in them. I'm also using c++ not c, if that makes a difference. What
could be preventing the logging from taking place? <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>David Minor <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>-----Original Message-----<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>From: Anthony Chan [<a
href="mailto:chan@mcs.anl.gov">mailto:chan@mcs.anl.gov</a>]<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Sent: Sunday, December 31, 2006 8:12 PM<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>To: David Minor<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Cc: mpich2-maint@mcs.anl.gov<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Subject: Re: [MPICH2 Req #3095] linking with
mpe in c++<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Since your cpi.c works with MPE, I assume the
problem is not with MPE.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>I don't quite understand what you mean by
multiple dll here (in linux).<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>Do you mean shared object (.so) ?
AFAIK, dll is a windows object.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>A.Chan<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>On Sun, 24 Dec 2006, David Minor wrote:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> I'm trying to link a multiple dll
program with mpe. I can link cpi.c<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> program fine with </span></font><span
dir=RTL></span><font size=2 face=Tahoma><span lang=HE dir=RTL style='font-size:
10.0pt;font-family:Tahoma'><span dir=RTL></span>–</span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>llmpe
</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>–</span></font><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>lmpe, but when I try to link
my executable<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> and dll with the same I get no mpe
symbols whatsoever in the output,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> nor is there any error message. What do
I need to do to link c++ with<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> mpe? I'm running on linux x386 w/
red hat 9.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>> David<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span style='font-size:
10.0pt;font-family:"Courier New"'>><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-align:left;text-autospace:none;direction:ltr;
unicode-bidi:embed'><font size=2 face="Courier New"><span lang=HE dir=RTL
style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal dir=RTL><font size=2 face=Arial><span dir=LTR
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>