next up previous contents
Next: Running AGM 3D Up: User manual Previous: User manual

Compiling AGM 3D

Before compiling AGM 3D it is necessary to modify the makefile. The variable APPL gives the name of the application. Currently the convection diffusion (CD) and the magnetization application (MAG) are available. BIN stands for the target directory for the executable and EXE for the name of the executable. b or x is prepended for the batch and X window version, respectively, and the name of the application is appended (e.g. xagm5MAG, bagm5MAG, xagm5CD). If the symbol EXTEND is defined using the variable for compiler options COPTS, the application independent extensions, which are described in section 2.6, will be compiled and linked. More details on variables and X window libraries can be found in chapter 1.3.2 of the AGM 3D manual [Bey94].

The X window version of AGM 3D with graphical user interface is compiled with make xagm or simply make. The function main is expected in mainx.c in the subdirectory of the selected application.

The batch version version is compiled with make bagm. The function main is expected in mainb.c in the subdirectory of the selected application.



Werner Scholz
10/30/1998