To use graphcode in parallel, you need to install
Classdesc, ParMETIS and
MPI. Define the preprocessor symbol
MPI_SUPPORT
to enable the parallel
processing code. An example Makefile for the poisson_demo
example illustrate how this is done.
You will need to arrange the class definitions for your objects, as
well as the graphcode.h file to be processed by
classdesc. One way of doing this is to #include
.cd files into one of
the C++ source files, and have a .h.cd
rule in your Makefile, as
suggested in the classdesc documentation.