I want to run a program with mpirun on different sets of machines (All linux machines with Open Mpi 1.5).
Right now I have machines where I can log on with username A
, and another set of machines where I use the username B
. All machines are accessible via ssh, but I can't figure out how to achieve this.
My hosts file would be like this :
localhost #username local
machine_set_A_1 #username A
machine_set_A_2 #username A
...
machine_set_B_1 #username B
machine_set_B_2 #username B
...
Is it possible to achieve this. Thank you.