Changes

Jump to navigation Jump to search

OpenMPI

723 bytes added, 20:51, 28 May 2015
[haddock:31110] MCW rank 4 bound to socket 0[core 2[hwt 0-1]]: [../../BB/../../..][../../../../../..]
[haddock:31110] MCW rank 5 bound to socket 1[core 8[hwt 0-1]]: [../../../../../..][../../BB/../../..]
</source>
 
= Use mpirun with ssh hostfile =
 
We have the 3 machines '''bax minima elvis'''.<br>
Let's try to make a hostfile
 
<source lang="bash">
set MPIHARR = (bax minima elvis)
foreach MPIH ($MPIHARR)
ssh $MPIH 'echo $HOST; lscpu | egrep -e "Thread|Core|Socket"; module list'
echo ""
end
</source>
Output
<source lang="text">
bax
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Currently Loaded Modulefiles:
1) openmpi-x86_64
 
minima
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Currently Loaded Modulefiles:
1) openmpi-x86_64
 
elvis
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Currently Loaded Modulefiles:
1) openmpi-x86_64
</source>
Trusted, Bureaucrats
1,382

edits

Navigation menu