Re: openmosix and distcc

Deadpan110 <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.general
Message-ID <[email protected]>
Hi,

On 10/04/06, Andreas Fladischer <[email protected]> wrote:
>
> thanks for your detailed description!!!!
>
> i used the 2.4.26 rpm kernel but it won't work together with distcc. the
> error message "kernel error" accours, so i think i use the bz2 patch and
> will try it again!
>
> did i understand it right that you also used the patch and not the rpm?


I use the kernel patch as I tune my kernel to suit my clusters hardware.

If you have the rpm kernel working, then that should not really be a problem
as distcc only sits infront of your compiler (mine is configured using:
PATH="/usr/lib/distcc/bin:${PATH}"
and the appropriate symbolic links set in /usr/lib/distcc/bin as follows:
# ls -l /usr/lib/distcc/bin/
total 0
lrwxrwxrwx  1 root root 15 Dec 14 22:54 c++ -> /usr/bin/distcc
lrwxrwxrwx  1 root root 15 Dec 14 22:54 cc -> /usr/bin/distcc
lrwxrwxrwx  1 root root 15 Dec 14 22:54 g++ -> /usr/bin/distcc
lrwxrwxrwx  1 root root 15 Dec 14 22:54 gcc -> /usr/bin/distcc
lrwxrwxrwx  1 root root 15 Dec 14 22:54 i386-pc-linux-gnu-c++ ->
/usr/bin/distcc
lrwxrwxrwx  1 root root 15 Dec 14 22:54 i386-pc-linux-gnu-g++ ->
/usr/bin/distcc
lrwxrwxrwx  1 root root 15 Dec 14 22:54 i386-pc-linux-gnu-gcc ->
/usr/bin/distcc

These represent the compilers that exist in /usr/bin on every node (there
are more ways of using distcc but this is how it works on my nodes)

Basically, if your kernel is working and you can compile without distcc,
then distcc will work.
(aslong as all nodes running distcc use the same compiler tools and know
where the other nodes exist on the network)

Not sure if this helps, but its possible that if everything works untill you
use distcc, then it could be that not all nodes have the same compiler tools
(All my nodes use the same kernel, distro and compiler tools on their own
roots)

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.