[fpc-devel] FPC and OpenMP support.

Daniël Mantione daniel.mantione at freepascal.org
Thu Mar 16 23:26:10 CET 2006



Op Thu, 16 Mar 2006, schreef Alexander Todorov:

> Hello to all,
> are there any parallel code developers in the list?

Yes.

> I will have to work on a mixed mode parallel project using MPI and OpenMP.
> There are some bindings in pascal for the MPI library which is ok.

I have a proof of concept conversion of the MPICH headers. However, it is 
not so easy, since libmpich.a can be located anywhere on the system; there 
is no Pascal equivalent of mpicc. I haven't decided yet what I'm going to 
do here.

I have also looked at LAMMPI and OpenMPI, looks like they'll be a piece of 
cake lust like MPICH, the only caveat is that h2pas chokes at their header 
files.

> Does fpc support OpenMP compiler directives? AFAIK no.
> Is there a known pascal compiler that supports OpenMP?

I don't plan to put effort in OpenMP support; I don't see the need 
for an external library to be able to do multithreaded programming. Focus 
here should be on 100% Pascal implementations.

Also of interrest to HPC users might be the interface to 
FFTW I committed a while ago. For good HPC support we also would need good 
interfaces to BLAS & LAPACK, and/or Pascal based math solutions.

> Integrating such support canbe a great step towards making FPC an
> industrial class compiler.

I think so.

Daniël


More information about the fpc-devel mailing list