<div dir="ltr">sure, no problem. but I guess svn maybe easier. since there is some images file to run it. Can you use svn to clone it?<div><br></div><div>it is: <a href="https://subversion.xray.aps.anl.gov/detpool/SUFENGNIU/MPI_Compression">https://subversion.xray.aps.anl.gov/detpool/SUFENGNIU/MPI_Compression</a></div>
<div><br></div><div>just make, you need two terminals to run it. one terminal type: ./run.perl main</div><div>the second terminal type: ./udp_client 55Fe_run5.tif</div><div><br></div><div>which is that the first terminal send the data, the second terminal receive it and process it.</div>
<div><br></div><div>Thank you so much. Due to my limited knowledge I didn't find out where is the problem.</div><div><br></div><div>once again, thanks a lot!</div><div><br></div><div>Sufeng</div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 6:00 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can you send us a simple program that gives this error?<br>
<br>
 -- Pavan<div><div class="h5"><br>
<br>
On 07/23/2013 05:55 PM, Sufeng Niu wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hello,<br>
<br>
I used MPI_Win_free, and it returns error code: 45, Invalid MPI_Win. I<br>
checked all my code, but I still cannot find out where is the problem. I<br>
was wondering any one can give a suggestion?<br>
<br>
I defined win as<br>
MPI_Win win;<br>
<br>
in RMA, I create a sub communicator: MPI_FOR_WORLD<br>
MPI_Win_create(image_buff, 2*image_info->image_size*<u></u>sizeof(uint16),<br>
sizeof(uint16), MPI_INFO_NULL, MPI_FOR_WORLD, win);<br>
<br>
In other MPI_FOR_WORLD process:<br>
MPI_Win_create(MPI_BOTTOM, 0, sizeof(uint16), MPI_INFO_NULL,<br>
MPI_FOR_WORLD, win);<br>
<br>
I use MPI_Get, just as normal thing. no mem violation.<br>
<br>
free it as<br>
MPI_Win_free(&win);<br>
<br>
I still cannot figure out why it keeps saying MPI_Win_free failed. Thank<br>
you very much for any suggestions.<br>
<br>
--<br>
Best Regards,<br>
Sufeng Niu<br>
ECASP lab, ECE department, Illinois Institute of Technology<br></div></div>
Tel: <a href="tel:312-731-7219" value="+13127317219" target="_blank">312-731-7219</a> <tel:<a href="tel:312-731-7219" value="+13127317219" target="_blank">312-731-7219</a>><br>
<br>
<br>
______________________________<u></u>_________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/<u></u>mailman/listinfo/discuss</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<div>Sufeng Niu</div><div>ECASP lab, ECE department, Illinois Institute of Technology</div><div>Tel: 312-731-7219</div>
</div></div></div>