Note: There is a section in the FAQ on common installation questions. If you have any troubles installing, please check that first before posting to the e-mail list.
The SMC has been tested on GNU/Linux on x86 and Itanium 2, Mac OS X (10.4) on PPC, and MS Windows on x86 (under Cygwin), although the Cygwin build gets less frequent testing. For Unix-like operating systems, as long as you have GNU Make, you should be able to build the SMC. We rely on some C99 and POSIX features in our C code, but do not use any gcc-specific constructs.
Download the three packages into the same directory. You may use a web browser (watch out for some browsers that like to change the file extensions) or a command-line program like wget:
wget http://bebop.cs.berkeley.edu/smc/tarballs/bebop_make.tar.gz wget http://bebop.cs.berkeley.edu/smc/tarballs/bebop_util.tar.gz wget http://bebop.cs.berkeley.edu/smc/tarballs/sparse_matrix_converter.tar.gz
Unpack the three packages using tar, as follows:
tar xvzf bebop_make.tar.gz tar xvzf bebop_util.tar.gz tar xvzf sparse_matrix_converter.tar.gzIf your version of tar does not support gzip, you will need to gunzip the files first before running tar xvf on them.
Each library has a README in its main directory. Start with the bebop_make/ directory and then go to the bebop_util/ and sparse_matrix_converter/ directories, in that order. The README files explain exactly what you need to do. If you are too impatient to read them (which would be unfortunate!), you can follow the following instructions:
Currently, users are responsible for installing the bebop_util and sparse_matrix_converter header files and libraries. Users should add the directory in which the dynamic libraries are stored to their LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH on Mac OS X), as discussed in the Frequently Asked Questions. If you are running in Cygwin on Windows, please let us know the equivalent construct.