Thanx alot. ----- Original Message ----- From: "Ralph Castain" <r...@open-mpi.org> To: "Open MPI Users" <us...@open-mpi.org> Sent: Wednesday, February 29, 2012 5:56:23 PM Subject: Re: [OMPI users] mpirun fails with no allocated resources
Fixed with r26071 On Feb 29, 2012, at 4:55 AM, Jeffrey Squyres wrote: > Just to put this up front: using the trunk is subject to have these kinds of > problems. It is the head of development, after all -- things sometimes > break. :-) > > Ralph: FWIW, I can replicate this problem on my Mac (OS X Lion) with the SVN > trunk HEAD (svnversion tells me I have 26070M): > > ----- > [6:46] jsquyres-mac:~/svn/ompi % mpirun -np 1 --host localhost uptime > -------------------------------------------------------------------------- > There are no allocated resources for the application > uptime > that match the requested mapping: > > > Verify that you have mapped the allocated resources properly using the > --host or --hostfile specification. > -------------------------------------------------------------------------- > [6:46] jsquyres-mac:~/svn/ompi % cat /etc/hosts > ## > # Host Database > # > # localhost is used to configure the loopback interface > # when the system is booting. Do not change this entry. > ## > 127.0.0.1 localhost > 255.255.255.255 broadcasthost > ::1 localhost > fe80::1%lo0 localhost > [6:46] jsquyres-mac:~/svn/ompi % > ----- > > > On Feb 29, 2012, at 3:36 AM, Muhammad Wahaj Sethi wrote: > >> >> >> Snapshot of my hosts file is present below. localhost is present here. >> >> 127.0.0.1 localhost >> 127.0.1.1 wahaj-ThinkPad-T510 >> 10.42.43.1 node0 >> 10.42.43.2 node1 >> >> Every thing works fine if I don't specify host names. >> >> This problem only specific to Open MPI version 1.7. >> >> Open MPI version 1.5.5 doesn't produces this error message. >> >> ----- Original Message ----- >> From: "Ralph Castain" <r...@open-mpi.org> >> To: "Open MPI Users" <us...@open-mpi.org> >> Sent: Tuesday, February 28, 2012 5:55:43 PM >> Subject: Re: [OMPI users] mpirun fails with no allocated resources >> >> 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 >> >> >> _______________________________________________ >> 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 > > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > _______________________________________________ > 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