Did you know ... Search Documentation:
Pack mpi -- README.md


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 hello.pl


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


Besides the examples, you can look at http://www.dcc.fc.up.pt/~vsc/yap/d4/dca/group___l_a_m.html.