Building the Charm++ Runtime System

In the root directory of the Charm++ distribution is a build script. This build script is used to compile the Charm++ Runtime System for a particular platform. The exact platform that should be used depends on the setup of the machine being used by the user. For the sake of this example, we will assume that the target platform is a cluster of linux workstations. Please Note: If the build script is executed with the "--help" command-line argument (i.e. the command "./build --help"), it will print out a usage message which includes a list of platforms available.

The general usage form of the build script is:

build <target> <version> <options> [ charmc-options ... ]

where:

Examples

(1) For a cluster of Linux workstations connected by an Ethernet network (32-bit x86 architecture): ./build charm++ net-linux
(2) 1 with SMP support: ./build charm++ net-linux smp
(3) 1 with the "-O3" compiler option on by default for charmc: ./build charm++ net-linux "-O3"
(4) 1 with both SMP support and the "-O3" compiler option on by default for charmc: ./build charm++ net-linux smp "-O3"

WARNING: Depending on the speed of the machine being used and the options specified, the build process of the Charm++ Runtime System can take several minutes (as high as 10-20 minutes for older machines).