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: Re: [OMPI users] mpirun problem
From: Ralph Castain (rhc_at_[hidden])
Date: 2009-03-04 15:16:47

I suppose one initial question is: what version of Open MPI are you
running? OMPI 1.3 should not be attempting to ssh a daemon on a local
job like this - OMPI 1.2 -will-, so it is important to know which one
we are talking about.

Just do "mpirun --version" and it should tell you.


On Mar 4, 2009, at 1:09 PM, Jeff Squyres wrote:

> Sorry for the delay in replying; the usual INBOX deluge keeps me
> from being timely in replying to all mails... More below.
> On Feb 24, 2009, at 6:52 AM, Jovana Knezevic wrote:
>> I'm new to MPI, so I'm going to explain my problem in detail
>> I'm trying to compile a simple application using mpicc (on SUSE 10.0)
>> and run it - compilation passes well, but mpirun is the problem.
>> So, let's say the program is called 1.c, I tried the following:
>> mpicc -o 1 1.c
>> (and, just for the case, after problems with mpirun, I tried the
>> following, too)
>> mpicc --showme:compile
>> mpicc --showme:link
>> mpicc -I/include -pthread 1.c -pthread -I/lib -lmpi -lopen-rte
>> -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl -o 1
>> Both versions (wih or without flags) produced executables as expected
>> (so, when I write: ./1 it executes in expected manner),
> Good.
>> but when I try this:
>> mpirun -np 4 ./1,
>> it terminates giving the following message:
>> ssh: (none): Name or service not known
>> --------------------------------------------------------------------------
>> A daemon (pid 6877) died unexpectedly with status 255 while
>> attempting
>> to launch so we are aborting.
> That's fun; it seems like OMPI is not recognizing localhost properly.
> Can you use the --debug-daemons and --leave-session-attached options
> to mpirun and see what output you get?
> --
> Jeff Squyres
> Cisco Systems
> _______________________________________________
> users mailing list
> users_at_[hidden]