Changes

Jump to navigation Jump to search

OpenMPI

382 bytes added, 21:09, 28 May 2015
= Use mpirun with ssh hostfile =
See https://www.open-mpi.org/faq/?category=running#mpirun-hostfile
We have the 3 machines '''bax minima elvis'''.<br>
 Let's try to make a hostfileand use them at the same time
<source lang="bash">
1) openmpi-x86_64
</source>
 
The node machines is a quad-processor machine, and we want to reserve 1 cpu for the user at the machine.
 
<source lang="bash">
cat << EOF > relax_hosts
bax slots=4 max-slots=3
minima slots=4 max-slots=3
elvis slots=4 max-slots=3
EOF
 
cat relax_hosts
</source>
 
Then try to run relax
= Updates =
Trusted, Bureaucrats
1,382

edits

Navigation menu