Hi,all£¬ recently I've installed OpenMPI on our cluster (4 nodes, each node got
one installation), but finally I found it could not work well with the 
underlying
resource management system SLURM. That is,after I typed the following, it seemed
mpirun hang there:

[semper@IA64_node2]  srun ¨CN 2 ¨CA
[semper@IA64_node2]  mpirun  -np 2 /tmp/cpi

I installed OpenMPI and SLURM all under HOME directory of user semper , and each
works well separately. I can test with such commands: 
"srun ¨CN 4 /bin/hostname ¨Cs",  there goes correct results( 2 from node2, and 2
from node4). And "mpirun ¨Cnp 4 cpi" works well on the local node.btw ,following
is some information.
Node            User            HOME                OpenMPI(SLURM)
IA64_node0      semper          /home/disk0/semper  $HOME/openmpi(slurm)
IA64_node1      semper          /home/disk1/semper  $HOME/openmpi(slurm)
IA64_node2      semper          /home/disk2/semper  $HOME/openmpi(slurm)
IA64_node3      semper          /home/disk3/semper  $HOME/openmpi(slurm)

PATH=$HOME/openmpi/bin:$HOME/slurm/sbin:$HOME/slurm/bin:$PATH
LD_LIBRARY_PATH=$HOME/openmpi/lib:$LD_LIBRARY_PATH

Does that different HOME path matter?
Can anybody detail me how to configure these two to work together?[ It nearly
drives me crazy 8-( ]  Thank you.




Reply via email to