LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-06-2005, 02:33 AM   #1
RemusX2
Member
 
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?

Thanks

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

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
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, 04:44 AM   #3
cs-cam
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
 
  


Reply


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 02:27 AM
Multiple Machines Compiling RemusX2 Linux - General 4 07-06-2005 11:54 AM
dhcp and multiple machines xthel Linux - Networking 7 06-16-2004 08:32 PM
Audio on Multiple Machines Synchronised ar_howard Linux - Software 0 05-29-2004 04:58 PM
Seti on multiple machines. Sean Moores Linux - General 5 08-22-2002 11:32 AM


All times are GMT -5. The time now is 04:46 PM.

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