<div dir="ltr"><div>Hello,<br><br></div><div>I am doing RMA operation, but my MPI_Win_free got the following messages:<br><br><span style="color:rgb(166,77,121)">Fatal error in MPI_Win_free: Invalid MPI_Win, error stack:<br>
MPI_Win_free(134): MPI_Win_free(win=0x7fffb1893028) failed<br>MPI_Win_free(66).: Invalid MPI_Win<br><br>===================================================================================<br>= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br>
= EXIT CODE: 1<br>= CLEANING UP REMAINING PROCESSES<br>= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br>===================================================================================<br></span><br></div><div>my rma operations shows below:<br>
<br></div><div>MPI_Win_create(image_buff, 2*image_info->image_size * sizeof(uint16), sizeof(uint16), MPI_INFO_NULL, *MPI_FOR_WORLD, win); // MPI_FOR_WORLD is custom defined comm<br><br></div><div>I just free it as: MPI_Win_free(&win);<br>
</div><div><br></div><div>Do any one knows why?<br><br></div><div>another weird thing is at the end of the program, I wrote:<br></div><div><span style="color:rgb(166,77,121)">MPI_Comm_free(&MPI_FOR_WORLD);</span> it also gave error:<br>
<br></div><div><span style="color:rgb(255,0,0)">Fatal error in PMPI_Comm_free: Invalid communicator, error stack:<br>PMPI_Comm_free(141): MPI_Comm_free(comm=0x7fff44a1535c) failed<br>PMPI_Comm_free(91).: Null communicator</span><br>
<br></div><div>Any suggestions are appreciate<br></div><div>Thank you very much!<br></div><div><div><div>
<br>-- <br>Best Regards,<div>Sufeng Niu</div><div>ECASP lab, ECE department, Illinois Institute of Technology</div><div>Tel: <a href="tel:312-731-7219" value="+13127317219" target="_blank">312-731-7219</a></div>
</div></div></div></div>