Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] mpiexec hangs - new install
From: Ralph Castain (rhc_at_[hidden])
Date: 2010-07-24 19:31:12

On Jul 24, 2010, at 4:40 PM, James wrote:

> OK, that's the problem. I turned the firewall off on both machines, and
> it works.
> Now the question: how do I fix it? I searched through the archives, and
> found that it seems to be a pretty common problem. Unfortunately, I didn't
> see a solution that I could understand. (I'm not a sysadmin, just a person
> trying to do some programming.)
> I have a couple of machines on a local net, with IP addresses in the
> range. There's a router at, which is connected
> to the internet via a cable mode. So how do I set up my system so my
> local machines can do whatever talking between themselves that's needed by
> OpenMPI, while still having a firewall between my system and the outside
> world?

Most routers provide their own internal-to-external firewall - you might check its setup and see. If it does, then you don't need to also have one on your individual machines.

> Thanks,
> James
> PS: Hate to kvetch, but wouldn't it save a lot of wasted time if basic
> problems like this were addressed in the FAQ?

Yes, it probably should be. However, a simple search for "firewall" on the user mailing list provides lots of info on how to deal with this issue.

> On Fri, 23 Jul 2010 14:17:48 -0700, Ralph Castain <rhc_at_[hidden]> wrote:
>> Check for a firewall blocking tcp communications - that's the most common issue.
>> On Jul 23, 2010, at 3:05 PM, James wrote:
>>> Hi,
>>> I am trying to get OpenMPI running on my home network. This has two
>>> machines, t61 and quad, both running SuSE 11. I'm using the "hello_c"
>>> program from the examples as a test. It will run fine on each machine,
>>> using whatever number or processes I specify. However, when I try to
>>> run on multiple machines, it hangs.
>>> If I start from t61 with the command "mpiexec -host t61,quad -np 2 hello"
>>> then I see that command when I do a ps -ax on t61. On quad I see
>>> "orted --daemonize (long parameter string)". Both of them seem to be
>>> silently waiting on some event, but I've no idea what.
>>> Both machines are running OpenMPI 1.4.2 (compiled from same tar file),
>>> installed in /opt/openmpi. The executables are in the same user/path
>>> on each machine (/home/me/src/openmpi/examples), and path,
>>> LD_LIBRARY_PATH, and so on all seem the same.
>>> Any suggestions?
>>> Thanks,
>>> James
>>> PS: Also, may I suggest putting something in the FAQ pointing out
>>> that the environment vars need to be set in .tcshrc, not .login?
>>> It would have saved me several hours.
>>> _______________________________________________
>>> users mailing list
>>> users_at_[hidden]
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
> _______________________________________________
> users mailing list
> users_at_[hidden]