Hi,

Am 10.03.2010 um 13:41 schrieb Olivier Riff:

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

the program can be found at the same location on all machines?

When you use ssh as startup, this can be coded in ~/.ssh/config:

Host node001
    User fubar
    Hostname headnode.my.cluster.test

Host node002
    User foo

Host node003
    User bar

-- Reuti


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

Reply via email to