Try leaving off the -H localhost,localhost front he cmd line - the local host 
will automatically be included, so that shouldn't be required.

I believe the problem is that "localhost" isn't the name of your machine, and 
so we look and don't see that machine anywhere.

On Feb 28, 2012, at 9:42 AM, Muhammad Wahaj Sethi wrote:

> Hello,
>    I have installed newer version but problem still persists.
> 
> Package: Open MPI wahaj@wahaj-ThinkPad-T510 Distribution
>                Open MPI: 1.7a1r26065
>  Open MPI repo revision: r26065
>   Open MPI release date: Unreleased developer copy
>                Open RTE: 1.7a1r26065
>  Open RTE repo revision: r26065
>   Open RTE release date: Unreleased developer copy
>                    OPAL: 1.7a1r26065
>      OPAL repo revision: r26065
>       OPAL release date: Unreleased developer copy
>                 MPI API: 2.1
>            Ident string: 1.7a1r26065
>                  Prefix: /home/wahaj/openmpi-install
> Configured architecture: x86_64-unknown-linux-gnu
> 
> Sequence of steps I followed is mention below.
> 
> svn update
> make distclean
> ./autogen.pl
> ./configure --prefix=$HOME/openmpi-install
> make all install
> 
> 
> wahaj@wahaj-ThinkPad-T510:~$ mpirun -np 2 -H localhost,localhost /bin/hostname
> --------------------------------------------------------------------------
> There are no allocated resources for the application 
>  /bin/hostname
> that match the requested mapping:
> 
> 
> Verify that you have mapped the allocated resources properly using the 
> --host or --hostfile specification.
> --------------------------------------------------------------------------
> 
> regards,
> Wahaj
> 
> 
> ----- Original Message -----
> From: "Ralph Castain" <r...@open-mpi.org>
> To: "Open MPI Users" <us...@open-mpi.org>
> Sent: Tuesday, February 28, 2012 3:30:47 PM
> Subject: Re: [OMPI users] mpirun fails with no allocated resources
> 
> 
> On Feb 28, 2012, at 7:24 AM, Muhammad Wahaj Sethi wrote:
> 
>> Hello!
>>    I am trying run following command using trunk version 1.7a1r25984.
>> 
>> mpirun -np 2 -H localhost,localhost /bin/hostname
>> 
>> It fails with following error message.
>> 
>> --------------------------------------------------------------------------
>> There are no allocated resources for the application 
>> /bin/hostname
>> that match the requested mapping:
>> 
>> 
>> Verify that you have mapped the allocated resources properly using the 
>> --host or --hostfile specification.
>> --------------------------------------------------------------------------
>> 
>> Every thing works fine if I use trunk version 1.5.5rc3r26063.
>> 
>> Any ideas, how it can be fixed?
> 
> Sure - update your trunk version. It's been fixed for awhile.
> 
> 
>> 
>> regards,
>> Wahaj
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


Reply via email to