Re: [OMPI users] Does Close_port invalidates the communicactor?

2019-03-01 Thread Jeff Squyres (jsquyres) via users
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  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, );
> 
>  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


[OMPI users] Does Close_port invalidates the communicactor?

2019-03-01 Thread Florian Lindner
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, );

  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