Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I've a 26 node cluster at my full disposal. 3.06Ghz CPU, 2 of them per node. I thought it might be an interesting idea to write a client/server set of scripts that would basically act as a distributed compiler.

Say you have a large project to compile (example: linux kernel). Its a collection of small(ish) .c files, basically. Master node would run the preprocessor locally, so there would be no need to have the identical header files across the compute nodes (nevermind the fact that compute nodes _are_ identical.. but why not do this for the people who dont have identical 26 machines at their disposal).

Then it would take the .c files and distribute them over to the compute nodes, which would gladly compile them and return them over to the master node when done, for linking. That is it, in a very brief nutshell.

What do you, fellow monks, think about this idea? Good? Bad? Any CPAN modules you'd recommend to use for this task? Any wisdom to share at all, about the idea?

May perl be with you.


In reply to distributed compiler by vxp

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found