Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,21 @@ or installation is required).

For an introduction on writing your own applications, read [Creating-GraphChi-Applications](https://github.com/GraphChi/graphchi-cpp/wiki/Creating-GraphChi-Applications).

### Problems compiling on Mac
### Compiling on Mac

If compiler complains about missing "omp.h" (OpenMP library), here is a way you can install it:
1. Change directory to graphchi: `cd graphchi-cpp`
- Install graphchi: `bash install.sh`

(Contributed by Jose Pablo Gonzalez):
1) Install homebrew ( http://brew.sh )
2) brew tap homebrew/versions
3) Install a compiler:
brew install apple-gcc42
4) Modify the Makefile to use the new compiler:
CPP = g++-4.2
5) make
_If compiler complains about missing the "omp.h" (OpenMP library)*:_
- [Install homebrew](http://brew.sh)
- `brew tap homebrew/versions`
- Install a compiler:
`brew install apple-gcc42`
- Modify the Makefile to use the new compiler:
`CPP = g++-4.2`
- `make`

*Contributed by Jose Pablo Gonzalez

## How GraphChi works

Expand Down