Possible Duplicate:
Configure MPI hostsfile to use multiple user identities
Does anyone know it is possible to specify the user which has to be used in an specific ssh connection with a given host or list of hosts in a MPI execution through mpirun? I need to use different users in different nodes.
The solution I found is to configure the ssh client by means of defining hosts and the proper users in the ~/.ssh/config file, as explained in this blog .