mpi

Running an MPI Program

Parameters#

Parameter Details
-n <num_procs> The number of MPI processes to start up for the job
## Execute your job
The simplest way to run your job is to use mpiexec or mpirun (they are usually the same thing and aliases of each other).
mpiexec -n 2 ./my_prog

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow