Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] open mpi on non standard ssh port
From: Reuti (reuti_at_[hidden])
Date: 2009-03-18 04:51:14


Bernhard,

Am 18.03.2009 um 09:19 schrieb Bernhard Knapp:

> come on, it must be somehow possible to use openmpi not on port
> 22!? ;-)

it's not an issue of Open MPI but ssh. You need in your home a file
~/.ssh/config with two lines:

host *
    port 1234

or whatever port you need.

-- Reuti

>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 17 Mar 2009 09:45:29 +0100
>> From: Bernhard Knapp <bernhard.knapp_at_[hidden]>
>> Subject: [OMPI users] open mpi on non standard ssh port
>> To: users_at_[hidden]
>> Message-ID: <49BF6329.8090802_at_[hidden]>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Hi
>>
>> I want to start a gromacs simulation on a small cluster where non
>> standard ports are used for ssh. If I just use a "normal"
>> maschinelist file (with the ips of the nodes), consequently, the
>> following error comes up:
>> ssh: connect to host 192.168.0.103 port 22: Connection refused
>>
>> I guess that I need to somehow tell him to use the other ports. I
>> tried it in the following way (maschinelist file):
>> 192.168.0.101 -p 5101
>> 192.168.0.102 -p 5102
>> 192.168.0.103 -p 5103
>> 192.168.0.104 -p 5104
>>
>> But it seems this is not the correct way to specifiy the port:
>> Open RTE detected a parse error in the hostfile:
>> /home/bknapp/scripts/machinefile.txt
>> It occured on line number 1 on token 5:
>> -p
>>
>> How can I tell him to use port 5101 on machine 192.168.0.101?
>> May be the question is stupid but I could not find a solution via
>> google or search function ...
>>
>> cheers
>> Bernhard
>>
>>
>>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users