Installing Split

Installing Split


  1. The program should run on any reasonably modern Unix machine. (However, spurious segmentation faults have been encountered under NeXTStep-Intel.) If you want to use CPLEX, purchase and install it. Install the following GNU (Free Software Foundation) products: g++ (version 2.7.2 or later), libg++ (2.7.1 or later), gzip, sort, fold, m4, c++filt (part of binutils).
  2. Create and move to an empty directory where you will be doing everything. Create subdirectories cc, inc, obj, and tex. Download disect.cc, CODE.gz, nauty.h, nauty.c, nautil.c, nug.alw.gz, quad.h, and quad.cc. Apply gunzip to those files which need it. If you are using NeXTStep, change nan.h to math.h in quad.cc.
  3. Modify CODE to suit your system, by changing a few #define lines, as follows:
    1. CPLEX should be set to the name of your CPLEX executable file (probably cplex or cplexmip);
    2. CPLEX_VERSION should be set to the version number of your copy of CPLEX;
    3. ABSOLUTE_PATH_FOR_CPLEX should be set if CPLEX refused to recognize relative path names.
  4. Download errata and make the recommended changes. These have not been thoroughly tested.
  5. Type the following:
    1. g++ disect.cc -s -o disect
    2. disect CODE
    3. chmod 755 prep
    4. prep all
    Now the source code is compiled. You can test the program file of the report with "Split < code.data". It takes about 59 hours on my machine to complete execution. This is assuming that you have CPLEX. Otherwise you should add a line "set homebrew;" to code.data at the beginning, and execution will be much slower.
  6. Because I have not maintained backward compatibility in the versions of the program, it is advisable to let me know if you decide to write your own program in the "Split" language. But of course I'd like to know what you're doing anyway!