Porting of the LAMMPI library of Yap Prolog to SWI-Prolog.

The authors of LAMMPI are Nuno A. Fonseca and Vitor Santos Costa. The porting was done by Fabrizio Riguzzi.


To compile and run the library you need an MPI framework, such as OpenMPI, installed in your system.

Example of use

$ cd <pack>/mpi/prolog/examples $ mpirun -np 4 swipl


The directory prolog/examples contains the examples of use available in Yap.


Besides the examples, you can look at

Prolog files

pack.plShow source
prolog/examples/bcast.plShow source
prolog/examples/hello.plShow source
prolog/examples/italk.plShow source
prolog/examples/talk.plShow source
prolog/examples/test_rec.plShow source
prolog/examples/wait.plShow source
prolog/lam_mpi.plShow source