Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
/ mpi_stubs Public archive

A dummy MPI-2 library for basic operations when actual MPI library not available.

License

Notifications You must be signed in to change notification settings

scivision/mpi_stubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPI stub

ci

The MPI Stubs library is one of many fine libraries and programs by Professor John Burkhardt of Florida State University.

MPI Stubs is a dummy MPI-2 library for basic operations when actual MPI library not available. If your problem is capable of running on a single processor, MPI Stubs may work for small problems, with the obvious side effect of usually taking longer to compute in serial than in parallel. This library can be useful to get users quick-started on platforms like Windows where setting up MPI takes an extra step or two.

MPI Stubs works for C, C++ and Fortran much like regular MPI, but on a single CPU core.

We have provided a CMake install package, or you can use this via CMake FetchContent or ExternalProject. The Examples directory shows how you would use an installed copy of MPI stubs.

cmake -B build -DCMAKE_INSTALL_PREFIX=~/mpis
cmake --build build
cmake ---install build

Then the example using that package:

cd examples
cmake -B build -DCMAKE_PREFIX_PATH=~/mpis
cmake --build build
ctest --test-dir build -V

About

A dummy MPI-2 library for basic operations when actual MPI library not available.

Resources

License

Code of conduct

Stars

Watchers

Forks