Probably a bug - I don't recall if/when anyone actually tested that code path. 
I'll have a look...probably in the hostfile parser.

What version are you using?

On Mar 10, 2010, at 8:26 AM, Olivier Riff wrote:

> Oops sorry I made the test too fast: it still does not work properly with 
> several logins:
> 
> I start on user1's machine: 
> mpirun -np 2 --machinefile machinefile.txt MyProgram
> 
> with machinefile:
> user1@machine1 slots=1
> user2@machine2 slots=1
> 
> and I got :
> user1@machine2 password prompt ?! (there is no user1 account on machine2...)
> 
> My problem is still open... why is there a connection attempt to machine2 
> with user1 ...
> Has somebody an explanation ?
> 
> Thanks,
> 
> Olivier
> 
> 
> 2010/3/10 Olivier Riff <olir...@googlemail.com>
> OK, it works now thanks. I forgot to add the slots information in the 
> machinefile.
> 
> Cheers,
> 
> Olivier
> 
> 
> 
> 2010/3/10 Ralph Castain <r...@open-mpi.org>
> 
> It is the exact same syntax inside of the machinefile:
> 
> user1@machine1 slots=4
> user2@machine2 slots=3
> ....
> 
> 
> On Mar 10, 2010, at 5:41 AM, Olivier Riff wrote:
> 
> > Hello,
> >
> > I am using openmpi on several machines which have different user accounts 
> > and I cannot find a way to specify the login for each machine in the 
> > machinefile passed to mpirun.
> > The only solution I found is to use the -host argument of mpirun, such as:
> > mpirun -np 2 --host user1@machine1,user2@machine2 MyProgram
> > which is very inconvenient with a lot of machines.
> >
> > Is there a way to do the same using a machinefile text? :
> > mpirun -np 2 -machinefile machinefile.txt MyProgram
> >
> > I cannot find the appropriate syntax for specifying a user in 
> > machinefile.txt...
> >
> > Thanks in advance,
> >
> > Olivier
> >
> > _______________________________________________
> > 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