View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-06-2005, 03:33 AM   #1
Registered: Oct 2003
Location: Bozeman, Montana
Distribution: Gentoo 2010, Ubuntu 9.04
Posts: 175

Rep: Reputation: 30
Multiple Machines Compiling

I'm not sure if this can be done or not but I am running two machines. FC3 w/ Athlon XP 3000+ and Gentoo 2005.0 w/ Athlon64 3000+. I am wondering if when I compile I program if it is possible to have one of the other computers share the workload and help out compiling with it's idle procoessor?


Old 07-06-2005, 04:29 AM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Yes, but it's not exactly simple.

First, you have to build a cluster. I don't know of any other method to have two machines communicate and share a workload. Building a cluster is not an easy thing to do, but that's ultimately your decision (to build it or not).

Second, the compile needs to support multiple processors. By that I mean, the application your compiling must have "pieces" of the compile process that are not dependent on each other; they can be compiled completely independently without influencing the end result. Then, you also need to use a special version of make (pmake is it's name, I believe). The point is, if you're compiling someon else's code, then there's no guarantee that it can be split. That is, unless you want to rewrite portions of their code, Makefile, or both.

My personal opinion: unless you want to build a massive compute farm, then it's probably not worth the hassle to build a cluster.
Old 07-06-2005, 05:44 AM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Nah, there is an easier way Google for distcc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling on multiple machines at once kenneho Programming 3 10-12-2005 03:27 AM
Multiple Machines Compiling RemusX2 Linux - General 4 07-06-2005 12:54 PM
dhcp and multiple machines xthel Linux - Networking 7 06-16-2004 09:32 PM
Audio on Multiple Machines Synchronised ar_howard Linux - Software 0 05-29-2004 05:58 PM
Seti on multiple machines. Sean Moores Linux - General 5 08-22-2002 12:32 PM

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration