next up previous contents index
Next: Examples Up: Graphcode Previous: Building Graphcode   Contents   Index

Using graphcode in parallel

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 rule in your Makefile, as suggested in the classdesc documentation.

Russell Standish 2016-09-02