Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Two remote machines - asymmetric behavior
From: Ralph Castain (rhc_at_[hidden])
Date: 2009-08-03 09:47:02


You are both correct. If you simply type "mpirun pvserver", then we will
execute pvserver on whatever machine is local.

However, if you type "mpirun -n 1 -H host1 pvserver", then we will start
pvserver on the specified host. Note that mpirun will still be executing on
your local machine - but pvserver will be running on the specified host.

Ralph

On Mon, Aug 3, 2009 at 7:29 AM, David Doria
<daviddoria+openmpi_at_[hidden]<daviddoria%2Bopenmpi_at_[hidden]>
> wrote:

>
> I'm a newbie, so forgive me if I ask something stupid:
>>
>> why are You running ssh command before mpirun command? I'm interested in
>> setting up a paraview server on a LAN to pos-tprocess OpenFOAM
>> simulation data.
>>
>> Just a total newbish comment: doesn't the mpirun in fact call for the
>> ssh anyway? And if pvserver is to be run on multiple machines and is
>> programmed in Open MPI shouldn't
>>
>> mpirun -np procNumber -H host1,host2,host3 pvserver
>>
>> be enough to get it going, as well as any other parallel program? Again,
>> please excuse my newbiness.
>>
>> Best regards,
>>
>> Tomislav
>>
>
> Tomislav,
>
> As is probably apparent from my email(s), I am very new to all of this as
> well.
>
> From my understanding, to start the server on cloud3 from my machine
> (daviddoria), you must use the command
> ssh cloud3 mpirun pvserver
>
> If you use simply
> mpirun pvserver
>
> that will start the server on daviddoria.
>
> Can anyone confirm or deny?
>
> Thanks,
>
> David
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>