Hm, I have no idea, let me check, I come back later with an answer...
Thanks
Edgar

Amit Schreiber wrote:

Hi Edgar,

I followed your instructions and indeed made some progress. However, I now encounter the following errors when trying to run my simple test: [hostname:29060] [0,0,0] ORTE_ERROR_LOG: Pack data mismatch in file dps_unpack.c at line 121 [hostname:29060] [0,0,0] ORTE_ERROR_LOG: Pack data mismatch in file dps_unpack.c at line 95

The errors happen immediately as a result of calling MPI_Comm_connect. The result returned from the call is MPI_ERR_UNKNOWN.

I looked up this problem and in the mailing list it was implied that the problem exists because of 32/64 bit mismatches or because of conflicting MPI installations. To avoid these problems I re-installed my Red Hat linux and the two processes I tested run on the same machine. Still, I get these errors.

Any other reason this problem may rise? The computer I run these tests on is a 2-processor Intel Xeon.

Thanks a lot,
Amit

Edgar Gabriel wrote:


Hi,

the port number which you see here is the correct format. Please note,
that Open MPI can only connect two applications within the same
"universe", and therefore we do not use hostnames or IP-Addresses in the
port name. For two applications to be in the same universe, you have to
start orted in a persistent mode prior to starting both applications, e.g.

orted --seed --persistent --scope public

and than you can start both applications.
Please note also, that name-publishing across different jobs is
unfortunatly broken, however, if you copy the port-name as a string from
one application to another (e.g. passing it at startup of the second
application), it should work.

Thanks
Edgar




Amit Schreiber wrote:


Hi,

I have a simple program which performs the following code:
MPI_Init( &argc, &argv );
MPI_Errhandler_set(MPI_COMM_WORLD, MPI_ERRORS_RETURN);
MPI_Open_port(MPI_INFO_NULL, port_name);
printf("accepting connections on port: %s\n", port_name);
(... then the program MPI_Comm_accept)
I run the program _without_ mpirun, as I intend later to use the dynamic
processes feature of MPI. However, once I run the program, the output I

get

is this:
accepting connections on port: 0.0.0:2000

I managed a few times to get a port name that consists of a long string
containing the computer's name, IP address, port and tag but I am unable

to

use either strings for clients (I have a client program which simply

tries

MPI_Comm_connect to a given port_name parameter).

Additionaly, the following mclient.c/mserver.c sample from this link

gives

me the same results:
http://www.hpclab.niu.edu/mpi/g2_body.html

Please help. Thanks,
Amit.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

_______________________________________________
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


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to