A. Installing AMPI

AMPI is included in the source distribution of CHARM++. To get the latest sources from PPL, visit: http://charm.cs.uiuc.edu/

and follow the download link. Now one has to build CHARM++ and AMPI from source.

The build script for CHARM++ is called build. The syntax for this script is:

> build <target> <version> <opts>

For building AMPI (which also includes building CHARM++ and other libraries needed by AMPI), specify <target> to be AMPI. And <opts> are command line options passed to the charmc compile script. Common compile time options such as -g, -O, -Ipath, -Lpath, -llib are accepted.

To build a debugging version of AMPI, use the option: ``-g''. To build a production version of AMPI, use the options: ``-O -DCMK_OPTIMIZE=1''.

<version> depends on the machine, operating system, and the underlying communication library one wants to use for running AMPI programs. See the charm/README file for details on picking the proper version. Following is an example of how to build AMPI under linux and ethernet environment, with debugging info produced:

> build AMPI net-linux -g

January 17, 2008
AMPI Homepage
Charm Homepage