Hi Ralph, Helps a lot! But the option "--report-uri" is unable to mpirun. After some searches in OpenMPI lists I found a way to run:
1) ompi-server -d --report-uri urifile & -----> (must be always running) 2) mpirun -ompi-server file:urifile -np 1 publish-test 3) mpirun -ompi-server file:urifile -np 1 connect-test Thank you for the links. Márcia. On Mon, Mar 16, 2009 at 3:28 PM, Ralph Castain <r...@lanl.gov> wrote: > 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 > Ralph > > > > 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 >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> > > > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >