The standard procedure for build Charm++ applies. Only the "charm++" target needs to be built for the Offload
API to be compiled (not libs, etc.). The build process assumes that the specified compiler is located
in your PATH.
The "Latest Version" of Charm++ source (updated nightly) can be downloaded
here.
In [charmDir]/src/arch/net-linux-cell/conv-mach.sh, set CELL_SDK_DIR so it points
to the location of your Cell SDK (that is, the directory containing the cbe_linux, sysroot,
systemsim-cell-release, etc. directories).
Building Charm++: The target architecture is net-linux-cell.
(Example build command: ./build charm++ net-linux-cell "-g" executed in [charmDir]. NOTE:
The "-g" can be substituted for any compiler options supported by the specified compiler.)
Compiler Options: gcc (default), xlc (xlc is not fully implemented/tested yet)
(example build command for xlc: ./build charm++ net-linux-cell xlc "-g")
The source code for example Charm++ programs are located under the
[charmDir]/examples/charm++/cell directory. Currently, these Charm++ programs call the
Offload API directly. To compile them, do so under
[charmDir]/[targetArch]/examples/charm++/cell (where [targetArch] is the target architecture you built
Charm++ with. i.e. - net-linux-cell).
Currently, the +netpoll option should be specified to charmrun when running
Charm++ applications on multiple processors (for the net-linux-cell
build). For example, use charmrun +p4 jacobi +netpoll to run the jacobi
example program on four Cell processors.