Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] [Fwd: Re: open mpi on non standard ssh port]
From: Bernhard Knapp (bernhard.knapp_at_[hidden])
Date: 2009-03-18 08:39:36

Hey again,

I tried to build a work around via port redirection: iptables -t nat -A
PREROUTING -i eth1 -p tcp --dport 22 -j REDIRECT --to-port 5101

If I do that then I can start the job:

 mpirun -np 2 -machinefile /home/bknapp/scripts/machinefile.txt mdrun
-np 2 -nice 0 -s -o -c -g -e -v
bknapp_at_192.168.0.104's password:

but it comes up with
connect() failed: No route to host (113)". The CPUs are calculating on
both (physically different machines) but unfortunately no results are
written ...

Was the port redirection of 22 not enough or is there another problem?


-------- Original Message --------
Subject: Re: open mpi on non standard ssh port
Date: Wed, 18 Mar 2009 09:19:18 +0100
From: Bernhard Knapp <bernhard.knapp_at_[hidden]>
To: users_at_[hidden]
References: <mailman.2006.1237281160.6040.users_at_[hidden]>

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

>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
>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 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):
> -p 5101
> -p 5102
> -p 5103
> -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
>May be the question is stupid but I could not find a solution via google
>or search function ...

Dipl.-Ing. (FH) Bernhard Knapp
Unit for Medical Statistics and Informatics - Section for Biomedical Computersimulation and Bioinformatics
Medical University of Vienna - General Hospital
Spitalgasse 23 A-1090 WIEN / AUSTRIA
Room: BT88 - 88.03.712
Phone: +43(1) 40400-6673