Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 829 Bytes

mpi.md

File metadata and controls

28 lines (20 loc) · 829 Bytes

MPI support

Faasm provides a custom MPI implementation to execute existing unmodified MPI applications in a serverless context.

The Faasm MPI implementation covers the majority of commonplace MPI functionality (point-to-point, collective, one-sided, custom datatypes).

MPI Functions

A number of MPI functions can be found at func/mpi. You can compile, upload and invoke hellompi with the following:

inv compile mpi hellompi
inv upload mpi hellompi
inv invoke mpi hellompi

Extending the Faasm MPI implementation

The MPI interface declarations live in the libfaasmpi directory of the cpp repo. The host interface definitions live here.

Any new functions need to be included in the faasmpi.imports file in the cpp repo.