[Beowulf] mixing MPI with other libraries...

Cheng, Kevin kc40 at hw.ac.uk
Sun Jun 26 20:30:42 PDT 2005


Thanks guys for your help. I managed to get passwordless rsh & ssh to work. I upgraded to mpich2 as I got more familiar with mpich1 and mpich2 is running fine.

Just curious questions:

1. If one had an existing project, say a GTK or QT application with Makefile and everything. If one wanted to incorporate MPI into this project, one would just replace (in the Makefile) the 'GCC = gcc' to 'GCC = mpicc', 'GXX = g++' to 'GXX = mpicxx', and also maybe include some MPI lib paths to the INCPATHs? Is this how one can convert normal projects into projects incorporating MPI calls?

2. If one had an existing C MPI program. What would be the side-effects of using the mpicxx to compile C code? Is it strict for one to use the MPI:: classes opposed to MPI_ C functions.. when force compiling under C++?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20050627/7ba34531/attachment.html>


More information about the Beowulf mailing list