Registry / networking / mpi
library1vcpkgunverified

Message Passing Interface (MPI) is a standardized and portable message-passing standard designed by a group of researchers from academia and industry to function on a wide variety of parallel computing architectures.

vcpkg install mpi
INSTALL
IMPORT
SIG · MPI
M
mpi
networkingcppv1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mpi.h
#include <mpi.h>

Initialize MPI, get process rank, and finalize

#include <mpi.h> #include <iostream> int main(int argc, char** argv) { MPI_Init(&argc, &argv); int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); std::cout << "Hello from process " << rank << std::endl; MPI_Finalize(); return 0; }
Debug
Known issues
breakingMPI implementations (OpenMPI, MPICH, etc.) may have ABI incompatibilities; mixing implementations can cause crashes.
fix
Ensure all linked libraries and executables use the same MPI implementation and version.
affects: all
gotchaMPI requires runtime launcher (mpirun/mpiexec) for execution; code compiled with MPI will not run as a standalone executable.
fix
Always launch MPI programs with mpirun -np <num_processes> ./program
affects: all
Upgrade
Version history
1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

mpi — pip install mpi · libregistry