Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fetching and compiling Thrill, and running an example

Fetching and Compiling Thrill

Thrill is written in C++14 and requires an appropriate compiler. Gcc >= 4.9, Clang, and Microsoft Visual C++ 2015 with newest updates are supported.

Under Linux Thrill can be cloned using git, and compiled by calling the script in the source root. This script clones additional git submodules, creates directory build, runs cmake to create Makefiles, and compiles in Debug mode with a detected compiler. And then even runs the test suite. In total this takes about 10 minutes on our workstations.

$ git clone
$ cd thrill
$ ./

Under Windows, use cmake's GUI to create project files and open them. Real TCP Networking is currently not available on Windows, but an internal mock network is available for testing applications.

Running the WordCount example

Thrill's example directory contains quite a few working programs. To run the WordCount example locally with internally generated random input run:

$ cd build/examples/word_count/
$ ./word_count_run --generate 1000 --output result-

This will run the WordCount program locally using all cores of the machines and simulating two hosts in a loopback network. Random lines with 10 words per line are generated and the resulting counts are written to the files result-*.

Next Steps