Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

[Beowulf] mixing MPI with other libraries...

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

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.scyld.com/pipermail/beowulf/attachments/20050627/7ba34531/attachment.html


More information about the Beowulf mailing list