Installing Split
- 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).
- 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.
- Modify CODE to suit your system, by changing a few #define lines, as
follows:
- CPLEX should be set to the name of your CPLEX executable file
(probably cplex or cplexmip);
- CPLEX_VERSION should be set to the version number of your copy of
CPLEX;
- ABSOLUTE_PATH_FOR_CPLEX should be set if CPLEX refused to
recognize relative path names.
- Download errata and make the recommended changes.
These have not been thoroughly tested.
- Type the following:
- g++ disect.cc -s -o disect
- disect CODE
- chmod 755 prep
- 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.
- 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!