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] OPenMpi: How to specify login name in machinefile passed to mpirun
From: Ralph Castain (rhc_at_[hidden])
Date: 2010-03-10 09:46:11


It is the exact same syntax inside of the machinefile:

user1_at_machine1 slots=4
user2_at_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_at_machine1,user2_at_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
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users