Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] include port 80 in the hostfile
From: Adrian Knoth (adi_at_[hidden])
Date: 2008-05-25 04:59:36

On Sun, May 25, 2008 at 11:59:04AM +0800, Cally K wrote:

> Is there a way to include an IP address with a different port in the openmpi
> hostfile, I keep getting error.. the pc sits on a different port, port 80
> whereas the others sit in port 22, how do I do that.

No host sits on a special port. Hosts have IP addresses, whereas ports
address a program (service) on a host (ports are the address information
for the application layer).

What you probably mean is: On one of your hosts, sshd is running on
port 80 instead of 22.

You can simply solve this problem by placing the appropriate port
configuration in your .ssh/config file on the connecting host:

Host =
Port = 80

This allows you to say "ssh" instead of "ssh -p 80"

So there's no need to specify the remote ssh port in the hostfile.

Cluster and Metacomputing Working Group
Friedrich-Schiller-Universität Jena, Germany