<source lang="bash">
mpirun -np x program-name
</source>
== Find number of Socket, Cores and Threads ==
<source lang="bash">
lscpu | egrep -e "CPU|Thread|Core|Socket"
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23
</source>
<source lang="text">
----
CPU(s): 24
On-line CPU(s) list: 0-23
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 2
CPU family: 6
CPU MHz: 2394.135
NUMA node0 CPU(s): 0,2,4,6,8,10,12,14,16,18,20,22
NUMA node1 CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23
</source>