LinuxCommandLibrary

mpiexec

launches MPI parallel programs

TLDR

Run MPI program

$ mpiexec -n [4] [program]
copy
Run on hosts
$ mpiexec -n [8] -f [hostfile] [program]
copy

SYNOPSIS

mpiexec [options] program [args...]

DESCRIPTION

mpiexec launches MPI parallel programs. Standard MPI process launcher. Functionally similar to mpirun with slightly different options.

PARAMETERS

-n num

Number of processes.
-f file
Host file.
-host host
Run on specific host.
-env var value
Set environment variable.

SEE ALSO

mpirun(1), mpicc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community