[MPICH] mixing MPI with other libraries

Kevin C. kevingpo at hotmail.com
Sun Jun 26 22:30:30 CDT 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++?





More information about the mpich-discuss mailing list