I have profiled Parallel quick sort algorithm. when I run it on single processor it give me the result &quot;.clog2&quot; file. but when I run it on more than one process it gives Error and hang the Execution. the Error is given below. <br>

irfan@hpc:~&gt;mpirun -np 1 ./PPPS<br>100<br><br>         1              19              21               44              50             79               88<br>       98             113             124              127             132            151             156 <br>

       175            182              195             245             250            259            262 <br>       263             269             298             305             334            336            343   <br>
       369             385            387              387             393            398             407 <br>
       411             412             412             421             441            481              496 <br>       523             528             531             535             538            545             560  <br>

       561             571              580            599             602            604            612   <br>       622             650             652             663             667            684             691  <br>

       702             706            706              709             711            717             745   <br>         754              767             767            774             774            777              786  <br>

       790             791             791             807             813            815             825   <br>       829            833              836             856             893            897            900    <br>

       934             937             946             954             958            961             982   <br>       983             <br>MPI_time : 0.000<br>Writing logfile....<br>Enabling the Default clock synchronization...<br>

Finished writing logfile ./PPPS.clog2.<br>irfan@hpc:~&gt; mpirun -np 2 ./PPPS<br>100<br><br>Ctrl-C caught... cleaning up processes<br>[press Ctrl-C again to force abort]<br>[mpiexec@hpc] HYDT_bscu_wait_for_completion (./tools/bootstrap/utils/bscu_wait.c:99): one of the processes terminated badly; aborting<br>

[mpiexec@hpc] HYDT_bsci_wait_for_completion (./tools/bootstrap/src/bsci_wait.c:18): bootstrap device returned error waiting for completion<br>[mpiexec@hpc] HYD_pmci_wait_for_completion (./pm/pmiserv/pmiserv_pmci.c:352): bootstrap server returned error waiting for completion<br>

[mpiexec@hpc] main (./ui/mpich/mpiexec.c:302): process manager error waiting for completion<br>irfan@hpc:~&gt;<br><br><div id="WISESTAMP_SIG_4834"><span style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><div style="border: 1px solid #e5e5e5;background-color: #f8f8f8;padding: 0.8em 0.8em 0.3em 0.8em;">

<div style="margin: 0 0 8px 0"><table height="112" width="419" border="0">
<tbody>
<tr valign="top">
<td><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbMAAAEyCAIAAAD/Y6mtAAAACXBIWXMAAC4j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nsh2/tjmW4ErKPdZJRPl4jpr14OcznGpX1v/gjZwZY2OGwuZzjwUnZgjP1GPgvsr16OcZnAZX57wsele/ije25YDIzFZTx8nXSPZsJHErW0KoJj/reHR8he/1kdimyUnR148R8Y7WRMQ9P0tTGopmVHczjq+tj/qfnK/rvNwOi/lDZ9ZQ4GVetOW7sOFRfXpzjbUCVLGwbG+gdGt28stUuu18eZ6eNJLwFS294fBsYKB8ZWZGxlbCyO46GPHJSr7+OK+0QyMJ5ExiLiNPSNWjgufETDqmXcI7Kzd+q0JaP/a/gMD7UqHNGwGRk3D00yMLY1MLbFTXPTX+a5JACxbRljd0fWzyIy9jeIFZz+hO8zh8KeZZQMkgyMyNiWjEbfjoZnlDHwTmAGxnpYLCJjx6Pf4bejITJq7pRERmRsFEd2GiKjiZJnYLG5pfRpZZTcAxQio4eSyIiMleMIhchYZr8kLHa2v6+DPYZQiIztQYmM5zmg4fO9UIiMzUPZHIvIWNu3c7ZgZOwQSmTs6WiGwy+Og8gIlCYstruUblrG2G/n6hHISAdW7i3DzzYw9iojAiIj6YsZKx0yFnwAIIiMVAWaCwcLsti9jEWuaUPISCZuRg2erY9sWmceBD5CRgDVuQx8bTImXFqLjYSQkZQlrS3+goSMREQl+x/CTSX2dexzxQAAAABJRU5ErkJggg==" alt="" height="82" width="148"><span style="font-size: small;">  </span></td>


<td style="text-align: left;"><span style="font-size: small;"><span style="color: #808080;"><em><strong>IRFAN GUL ORAKZAI</strong></em><span style="color: #888888;">  </span><em> </em></span></span><br>
<div style="margin-top: 0px; margin-bottom: 0px;"><span style="font-size: small;"><span style="color: #808080;">Mobile No: (+923348878807)</span><span style="color: #ff6600;"> </span> <br></span></div>
<a href="http://www.wisestamp.com/"> </a>
<div class="s"><em>Pakistan Institute of Engg &amp; Applied Sciences (PIEAS) Islamabad, Pakistan.</em></div>
<span style="font-size: small;"><a href="http://www.wisestamp.com/"><span style="color: #666699;"> <br></span></a></span></td>
</tr>
</tbody>
</table></div></div><div style="margin-top: 3px;padding-top: 2px; font-size: 70%;"><a style="color: #aaa; text-decoration: none;" href="http://www.wisestamp.com/email-install?utm_source=extension&amp;utm_medium=email&amp;utm_campaign=footer"><span style="color: #aaa;"></span></a><br>

</div><img src="http://p1.wisestamp.com/pixel.png?p=mozilla&amp;v=2.2.1&amp;t=1305828989600&amp;u=8243824&amp;e=823" height="1" width="1"></span></div>