Icecream

From Linuxintro
Revision as of 23:17, 23 May 2011 by imported>ThorstenStaerk (Reverted edits by 188.40.17.56 (talk) to last revision by 218.45.209.21)

Icecream is a software suite that allows you to build up a compile cluster. The goal is to speed up compiling by distributing the jobs over several computers. To do that, you need one compile-driver (the scheduler) and one or more daemons. As a start, have a daemon running on the computers earth and moon and run the scheduler on earth. Every daemon can trigger a cluster compilation, as well earth as moon.

Now that’s sutlbe! Great to hear from you.

Run it

On every slave, start the daemon:

export PATH=/opt/icecream/bin:$PATH
iceccd -d

And make sure your firewall is stopped:

rcSuSEfirewall2 stop

On your driver, start the scheduler:

export PATH=/opt/icecream/bin:$PATH
scheduler -d

You can now start building e.g. with 8 compile jobs distributed over the nodes:

make -j8 CC=/usr/bin/icecc

The monitor

There is a graphical monitor available that shows which computer is compiling what:

Icecream2.png

To see it, use the command

icemon

I'm out of league here. Too much brain power on dislpay!

How to compile icemon

svn co https://svn.kde.org/home/kde/trunk/playground/devtools
cd devtools
cmake .
cd icemon
make && make install

See also