Open MPI logo

Docs Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Docs mailing list

Subject: [OMPI docs] Behavior of --host and --hostfile flags on mpirun
From: Kelly Black (kjblack_at_[hidden])
Date: 2013-10-11 12:27:37


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

Can I then use the following command?

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

Kelly Black Phone: (315) 600-8334
Clarkson University Fax: (315) 268-2371
Department of Math. & C.S.
PO Box 5815
Potsdam, NY 13699-5815