I *think* that should work, but I haven't personally tested it.

On Oct 11, 2013, at 9:27 AM, Kelly Black <kjblack@gmail.com> wrote:

Hello,

I have a question about the --host and --hostfile flags used by mpirun. Do you have to use fully qualified host names in the arguments to the --host option if the fully qualified domain name is given in the host file?

For example, if I have a host file like this:

# myhosts.txt
thingOne.clarkson.edu=4
thingTwo.clarkson.edu=4

Can I then use the following command?

mpirun --hostfile myhosts.txt --host thingOne -np 3 bubba

Sincerely,
kel
_______________________________________________________
Kelly Black                     Phone: (315) 600-8334
Clarkson University             Fax:   (315) 268-2371
Department of Math. & C.S.     
PO Box 5815
Potsdam, NY 13699-5815
USA
_______________________________________________
docs mailing list
docs@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/docs