coding

what i need from delphi 2010

  1. 64 bit compiler
  2. OpenMP
  3. Strict rules about data encapsulation
  4. Getting rid of unit = namespace philosophy
  5. Better compiler, fast is not always good enough!
  6. Better editor, Visual Studio is faaar batter right now.

coding, parallel

Delphi and mpi in 4 steps

  1. Download and install MPICH2
  2. Download mpi.pas from lazarus site and put it in your project. http://wiki.lazarus.freepascal.org/MPICH
  3. Comment out any code that gives error in MPI.pas (Lazarus pascal is a little bit different than Delphi object pascal)
  4. 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.