Open main menu

Changes

OpenMPI

303 bytes added, 08:55, 28 May 2015
= Commands and FAQ about mpirun =
See oracles page on mpirunand the manual openmpi: # https://docs.oracle.com/cd/E19923-01/820-6793-10/ExecutingPrograms.html# http://www.open-mpi.org/doc/v1.4/man1/mpirun.1.php
For a simple SPMD (Single Process, Multiple Data) job, the typical syntax is:
<source lang="bash">
mpirun -np x program-name
</source>
 
== assign two mpi processes per core ==
http://stackoverflow.com/questions/11749182/assign-two-mpi-processes-per-core
 
<source lang="bash">
sudo yum install hwloc
</source>
 
Then run
<source lang="bash">
hwloc-ls
</source>
Trusted, Bureaucrats
1,382

edits