Close port should only affect new incoming connections.  Your established 
communicator should still be fully functional.


> On Mar 1, 2019, at 4:11 AM, Florian Lindner <mailingli...@xgm.de> wrote:
> 
> Hello,
> 
> I wasn't able to find anything about that in the standard. Given this 
> situation:
> 
> 
>  MPI_Open_port(MPI_INFO_NULL, portName);
>  MPI_Comm communicator;
>  MPI_Comm_accept(portName, MPI_INFO_NULL, 0, MPI_COMM_WORLD, &communicator);
> 
>  MPI_Close_port(portName);
> 
>  // can I still use communicator here?
> 
> Does the close port invalidates communicator? Or does it means the port 
> closes for any new incoming connections, i.e., Comm_accept won't work anymore 
> on it?
> 
> Thanks,
> Florian
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users


-- 
Jeff Squyres
jsquy...@cisco.com

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to