Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] problems with MPI_Loockup_name
From: Ralph Castain (rhc_at_[hidden])
Date: 2009-03-16 10:28:56

Hi Marcia

You have to tell the process doing the lookup the connection info for
the server that is hosting the published info. Otherwise, OMPI
defaults to looking for it on its own mpirun, where it won't be found
in this case.

Here is what you need to do (described in "man mpirun"):

1. mpirun -np 1 --report-uri uri-file publish-test

2. mpirun -np 1 --ompi-server file:uri-file connect-test

Hope that helps

On Mar 16, 2009, at 7:50 AM, Marcia Cristina Cera wrote:

> Hi,
> I am using the OpenMPI version 1.3 downloaded directly from the site.
> I want to establish a client/server connection among two local
> processes (in the same machine).
> I wrote a simple publisher combining MPI_Open_port /
> MPI_Publish_name / MPI_Comm_accept and a connector with
> MPI_Lookup_name / MPI_Comm_connect as can be seen in attachment.
> An error of Invalid name argument (also in attachment) is reached
> in MPI_Lookup_name, but I was execute the same test with LAM/MPI
> and it works well.
> I did not find references to this error in OpenMPI lists.
> Please, someone may help me with this problem?
> Thank you in advance!
> Márcia Cristina Cera.
> <connect-accept.tar.gz>_______________________________________________
> users mailing list
> users_at_[hidden]