GraphLab Installation on Ubuntu
Installing GraphLab on Ubuntu
The directions below are for Ubuntu Natty (11.04)
0) Login into your ubuntu machine (64 bit).
On amazon EC2 – you can launch instance AMI-e9965180
1) Installing boost+zlib.
|
1 2 3 4 |
sudo apt-get update sudo apt-get install zlib1g-dev libbz2-dev sudo apt-get install build-essential sudo apt-get install libboost1.42-all-dev |
2) Install Mercurial
|
1 |
sudo apt-get install mercurial |
3) Install cmake
|
1 |
sudo apt-get install cmake |
4) Install openmpi + java
|
1 |
sudo apt-get install libopenmpi-dev openmpi-bin default-jdk |
5a) Install graphlab from mercurial
Go to graphlab download page, and follow the download link to the mercurial repository.
copy the command string: “hg clone…” and execute it in your ubuntu shell.Note: After you cloned the repository and you would like to get up to date,
you can issue the commands:
|
1 2 |
hg pull hg update |
or 5b) Install graphlab from tgz file
Go to graphlab download page, and download the latest release.
Extract the tgz file using the command: “tar xvzf *.tar.gz”
Extract the tgz file using the command: “tar xvzf *.tar.gz”
6) configure and compile
|
1 2 3 4 |
cd graphlabapi ./configure cd release/ make -j4 |
For any questions or bug fixes about this tutorial, please email: graphlabapi@googlegroups.com
with the following information:
- A detailed description of the problem you are facing
- The OS and OS version you are using.
- The output of uname -a
- The hardware you are running on.
- The output of g++ -v and clang++ -v
- The contents of graphlabapi/config.log and graphlabapi/configure.deps
- Full compilation log

