Re: [OMPI users] problems with client server scenario using MPI_Comm_connect

2016-10-04 Thread Gilles Gouaillardet
ay, October 04, 2016 8:39 AM > *To:* Open MPI Users > *Subject:* Re: [OMPI users] problems with client server scenario using > MPI_Comm_connect > > > > Rick, > > > > How long does it take between the test fails ? > > There were a bug that caused a failure if n

Re: [OMPI users] problems with client server scenario using MPI_Comm_connect

2016-10-04 Thread Marlborough, Rick
Subject: Re: [OMPI users] problems with client server scenario using MPI_Comm_connect Rick, How long does it take between the test fails ? There were a bug that caused a failure if no connection was received after 2 (3?) seconds, but I think it was fixed in v2.0.1 That being said, you might want

Re: [OMPI users] problems with client server scenario using MPI_Comm_connect

2016-10-04 Thread Gilles Gouaillardet
> if(mpi_error) > > { > > ... > > } > > std::cout << "Established port name is " << port_name << > std::endl; > > s

Re: [OMPI users] problems with client server scenario using MPI_Comm_connect

2016-10-04 Thread Marlborough, Rick
stream::trunc); file << port_name; file.close(); MPI_Comm_accept(port_name, MPI_INFO_NULL, 0, MPI_COMM_WORLD, &remote_clients); The server error looks like this… [cid:image001.png@01D21E19.521F3BC0] The client error look like so… [cid:i

Re: [OMPI users] problems with client server scenario using MPI_Comm_connect

2016-10-04 Thread Gilles Gouaillardet
Rick, I do not think ompi_server is required here. Can you please post a trimmed version of your client and server, and your two mpirun command lines. You also need to make sure all ranks have the same root parameter when invoking MPI_Comm_accept and MPI_Comm_connect Cheers, Gilles "Marlborou