1.5 Compilation and Execution

A FEM framework program is a CHARM++ program, so you must begin by downloading the latest source version of CHARM++ from http://charm.cs.uiuc.edu/. Build the source with ./build FEM version or cd into the build directory, version/tmp, and type make FEM. To compile a FEM program, pass the -language fem (for C) or -language femf (for Fortran) option to charmc. You can also build using the ``fem_alone'' mode described at the end of the section above.

In a charm installation, see charm/version/pgms/charm++/fem/ for several example and test programs.

At runtime, a Charm++/FEM framework program accepts the following options, in addition to all the usual Charm++ options described in the Charm++ ``Installation and Usage Manual''.

January 17, 2008
FEM Homepage
Charm Homepage