Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Want to use MPI using TCP/IP
From: Brock Palen (brockp_at_[hidden])
Date: 2008-11-24 09:06:32

install OpenMPI on both systems. Make sure they are in the same
Set up ssh so that it does not require a password between the two
systems. MPI will use this to setup the communication.

Use the wrapper calls to compile,
mpicc -o ring_c ring_c.c

Use 'mpirun' to start the job, mpirun --help will give details of its
mpirun -H machine1,machine2 -np 2 ./ring_c

Brock Palen
Center for Advanced Computing

On Nov 24, 2008, at 6:57 AM, Parav Pandit wrote:

> Hi,
> I am new user of Open-MPI, using stable release 1.2.8.
> I would like to run example program ring_c.c between two Linux
> systems using TCP/IP.
> How can I do that?
> Or there is any other example programs which I can use as reference
> to scale from 2 systems to 10 systems?
> Regards,
> Parav Pandit
> _______________________________________________
> users mailing list
> users_at_[hidden]