On Wed, Jan 15, 2003 at 08:35:27AM -0600, Toby Ewing wrote:
Frank Heckenbach wrote:
Toby Ewing wrote:
Does anyone know whether GPC can be made to work with Message Passing Interface code? MPI is available, to the best of my knowledge, only in Fortran, C, and C++ flavors. But I've got a whole lot of Pascal code, and I'd hate to have to rewrite it all in C for parallelizing. Especially since I don't know C ;-)
No, please don't. If anything, translate the MPI interface to Pascal (only the interface declarations need to be translated, the MPI implementation can remain in C or whatever it's in). This would be a one-time effort, and others could benefit from it ...
OK, that sounds like a solution. Any idea how horrible a job this is? Any suggestions on how to proceed? I haven't even bought the MPI manual yet, so this is all pretty new to me. I do know that there are a lot of MPI implementations out there, and I don't yet know which I'll be using, or how GCC-compatible it is.
A student of mine, Cas Cremers, used FreePascal with (part of) LAM/MPI on a cluster of Linux machines. You can find relevant files (i.e. Pascal interfaces to some basic parts of LAM/MPI) on
http://www.win.tue.nl/~ccremers/pascalmpi/index.html
I have no idea how easy it is to get this to work with GPC, but there are further pointers to guide you from there.
Good luck,
Tom Verhoeff