Basic client-server question

Basic client-server question

I apologize for asking a basic question.We are trying to run a client on a Linux node and a server on a Windows node.The reference manual says:To run a client-server application, use the following commands on the server host:$ mpdboot -n 1$ mpiexec -n 1 -genv I_MPI_FABRICS shm:dapl > and use the following commands on the intended client hosts:$ mpdboot -n 1$ mpiexec -n 1 -genv I_MPI_FABRICS shm:dapl < To run a client-server application, use the following commands on the server host:$ mpdboot -n 1$ mpiexec -n 1 -genv I_MPI_FABRICS shm:dapl > and use the following commands on the intended client hosts:$ mpdboot -n 1$ mpiexec -n 1 -genv I_MPI_FABRICS shm:dapl < What is the meaning and the format of port_name?How does one specify the input string toMPI_Comm_connect?(its format seems to be differenton these two platforms).The windows manual specifies tcp and the linux manual specifies dapl fabrics.What do these arguments mean and are they necessary?it would be most helpful to have a small concrete example with all the command linearguments.Thanks,Ed

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Hi Ed,

Unfortunately, the Intel MPI Library currently does not support jobs that span Windows* and Linux* together.

To use a client/server type program, you will need to use MPI_Open_port to create a port in the server program, get the name of the port to the client program in whatever manner you prefer, use MPI_Comm_accept in the server to wait for the connection, and MPI_Comm_connect in the client to make the connection. I will put together a simple example to illustrate this and post it as soon as possible.

As far as the fabric, the two will need to be using the same fabric, and you can select the fabric based on the best performing fabric available for your system. Infiniband* fabrics are available for Windows* systems and tcp fabrics can be used on Linux* systems.

Sincerely,
James Tullos
Technical Consulting Engineer
Intel Cluster Tools

Hi Ed,

Please see http://software.intel.com/en-us/articles/using-the-intel-mpi-library-in-a-serverclient-setup/ for information and a simple example of how to set up a server/client program using the Intel MPI Library.

Sincerely,
James Tullos
Technical Consulting Engineer
Intel Cluster Tools

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya