<div>Hello,</div><div><br></div><div> <span class="Apple-style-span" style="font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px;background-color:rgb(255,255,255)">The problem is to search a password into a big file of size about 10GB using MPI. I divided the file between different processes of chunk size of <code style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:1px;padding-right:5px;padding-bottom:1px;padding-left:5px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-repeat:initial initial">(Total number of bytes in file / P)</code> where p is the number of processes to create and applying my searching logic in each process through a loop parallely. I want to stop other processes when one process find a solution. so to abort the other processes execution i used the following approach </span></div>
<div><span class="Apple-style-span" style="font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px;background-color:rgb(255,255,255)"><br></span></div><div><span class="Apple-style-span" style="font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px;background-color:rgb(255,255,255)"> 1. </span><span class="Apple-style-span" style="font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:18px;background-color:rgb(255,255,255)"> approach is to use a flag and set it whenever any process find its solution. After setting this flag send it to all the other processes using non-blocking send/recv/Iprobe funtion. Then check this flag by each process using <code style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;background-repeat:initial initial">if(flag == 1) break</code>; and do so. After doing this i am getting following error massages at the end of program execution ....assume p =4 here,</span></div>
<div><br></div><div>*** An error occurred in MPI_Finalize</div><div>*** after MPI was finalized</div><div>*** MPI_ERRORS_ARE_FATAL (goodbye)</div><div>[abc:3908] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!</div>
<div>*** An error occurred in MPI_Finalize</div><div>*** after MPI was finalized</div><div>*** MPI_ERRORS_ARE_FATAL (goodbye)</div><div>[abc:3910] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!</div>
<div>*** An error occurred in MPI_Finalize</div><div>*** after MPI was finalized</div><div>*** MPI_ERRORS_ARE_FATAL (goodbye)</div><div>*** An error occurred in MPI_Finalize</div><div>*** after MPI was finalized</div><div>
*** MPI_ERRORS_ARE_FATAL (goodbye)</div><div>[abc:3911] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!</div><div>[abc:3912] Abort before MPI_INIT completed successfully; not able to guarantee that all other processes were killed!</div>
<div><br></div><div><br></div><div>Can any one tell me why i am getting error and how we can remove it??</div><div>Please its urgent....</div><div>Thanks in advance!!!</div>