A makefile is provided with the program and it should work for any UNIX system with g++, the GNU C++ compiler. If you are using a different compiler you can directly compile the files, or simply edit the makefile as needed. For example you can change the variable ``COMPILER'' at the top of the makefile to something other than ``g++.'' We recommend that you leave optimization on. The makefile is currently set to create an executable called ``latticeeasy,'' which can then be run in the same directory as the source code.
Warning: There is a bug in some old versions of the GNU compiler that can sometimes cause the program to crash. If you are using g++ and the program exits with a segmentation fault, try checking your version of the compiler by running g++ -v. If the result you get includes ``egcs-1.0.3 release'' then you are using the buggy version. Unfortunately this is the version of g++ that shipped with RedHat Linux 5. The best fix is to update your compiler. The latest versions of g++, including the ones that come with RedHat 6, don't have this problem. If you are interested in more information about this bug you can email Gary Felder.