LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mpirun

launches MPI parallel programs

TLDR

Run MPI program
$ mpirun -np [4] [program]
copy
Run on multiple hosts
$ mpirun -np [8] --hostfile [hosts.txt] [program]
copy
Run with specific slots per host
$ mpirun -np [4] --map-by node [program]
copy

SYNOPSIS

mpirun [options] program [args...]

DESCRIPTION

mpirun launches MPI parallel programs. Starts multiple processes across nodes for distributed computing. Part of OpenMPI or MPICH implementations.

PARAMETERS

-np n

Number of processes.
--hostfile file
File with host list.
--host hosts
Comma-separated hosts.
--map-by policy
Process mapping (node, slot, core).
--bind-to policy
Process binding.
-x var
Export environment variable.

INSTALL

sudo dnf install openmpi
copy
sudo pacman -S openmpi
copy
sudo apk add openmpi
copy
brew install openmpi
copy
nix profile install nixpkgs#openmpi
copy

SEE ALSO

mpiexec(1), mpicc(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid