<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<pre><span style="font-family:"Calibri","sans-serif";color:black">Hi Pavan,<o:p></o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black">Here is the code attached. Let me know if you think the code is incorrect.<o:p></o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black">I used MPI-3.0.4 with sock device.<o:p></o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black">Compile command : <o:p></o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">export MPI_ROOT = /home/hroy/local/mpich-3.0.4/linux_x86_64<o:p></o:p></span></pre>
<pre><span style="color:black">#export MPI_ROOT = /home/hroy/local/mpich-3.0.4.nemesis/linux_x86_64<o:p></o:p></span></pre>
<pre><span style="color:black">export MPI_BIN = ${MPI_ROOT}/bin<o:p></o:p></span></pre>
<pre><span style="color:black">export MPI_LIB = ${MPI_ROOT}/lib<o:p></o:p></span></pre>
<pre><span style="color:black">export INCLUDE_DIR = ${MPI_ROOT}/include<o:p></o:p></span></pre>
<pre><span style="color:black">compile: <o:p></o:p></span></pre>
<pre><span style="color:black">        g++ -g  main.cpp  -I ${INCLUDE_DIR} ${MPI_LIB}/libmpich.a ${MPI_LIB}/libmpl.a -lpthread <o:p></o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black">Thanks,<o:p></o:p></span></pre>
<pre><span style="font-family:"Calibri","sans-serif";color:black">Hirak<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">Can you send us a simple program that reproduces the issue?<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">  — Pavan<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">On Oct 8, 2014, at 2:54 PM, Roy, Hirak <<a href="https://lists.mpich.org/mailman/listinfo/discuss">Hirak_Roy at mentor.com</a>> wrote:<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black">><i> Hi Pavan,<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i>  <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> I even tried duping the communicator (MPI_COMM_SELF à DUP1, DUP2) before I do any kind of MPI calls. <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> Still it does not work.<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i>  <o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> Thanks,<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i> Hirak<o:p></o:p></i></span></pre>
<pre><span style="color:black">><i>  </i><o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>