I was asked by Dan, an avid reader of this blog, to supply installation instructions for MAC OSX Snow Leopard 10.6. Installation is quite simple.
1) Install cmake using the following link: cmake 2.8.4
2) Download graphlab code and install GraphLab where XXX is the latest version you can find in here
wget http://graphlab.org/release/graphlabapi_v1_XXXX.tar.gz tar xvzf graphlabapi_v1_XXXX.tar.gz cd graphlabapi ./configure --bootstrap cd debug #or equivalently cd release make -j 4 cd tests ./runtests.sh
Anyone who tries it out - update me if it went smoothly!
NOTE: We now support Eigen linear algebra package. It can be installed using the command:
./configure --bootstrap --eigen
However, on MAC OS, gcc45 is required. See explanation here.
NOTE2: The current GraphLab MAC setup default to gcc-4.2. If you like to use your default compiler, you can comment the first few lines of the file CMakeLists.txt in the root graphlab folder, namely the lines:
if(APPLE) set(CMAKE_C_COMPILER "gcc-4.2") set(CMAKE_CXX_COMPILER "c++-4.2") endif(APPLE)