Delphi and mpi in 4 steps
coding, parallel | (1)
Download and install MPICH2 Download mpi.pas from lazarus site and put it in your project. http://wiki.lazarus.freepascal.org/MPICH Comment out any code that gives error in MPI.pas (Lazarus pascal is a little bit different than Delphi object pascal) Write your code! program HelloWorld1;
uses MPI;
var myid: integer;
begin
MPI_Init(nil,nil);
MPI_Comm_rank(MPI_COMM_WORLD,@myid);
writeln('id=',myid);
MPI_Finalize;
end.