Dear OpenMPI users

Relative indexing error occurs in my CentOS small cluster.
What and where should I check ?

Environment:
- 4node GbE cluster (CentOS 6.7)
- OpenMPI 1.8.7 (builded usin system compiler, gcc version 4.4.7 20120313
and installed /usr/local/openmpi-1.8.7)
- use ssh without password authentification (using RSA key)

This is "myhosts" file:
--------------
ensis10 slots=4
ensis12 slots=6
ensis13 slots=6
ensis14 slots=6
--------------

Command line and error messgae:
$ mpirun --hostfile ./myhosts -np 4 -host +n2 hostname
--------------------------------------------------------------------------
A relative host was specified, but no prior allocation has been made.
Thus, there is no way to determine the proper host to be used.

-host: +n2

Please see the orte_hosts man page for further information.
--------------------------------------------------------------------------

# In case of direct hostname specification, it works fine such as:
# [@ensis10] $ mpirun --hostfile ./myhosts -np 4 -host ensis12 hostname
# ensis12
# ensis12
# ensis12
# ensis12
#

Thanks in advance


-- 

S.Wakashima  (waku2...@gmail.com)

Reply via email to