Sorry, I took a (mental) whack at this... and (naively) said -- "Wow, easy; it's nested-loop time: split the files up into five, 10 member arrays, and then feed the elements of those to the 5 nodes, using code on those nodes to accept the feeds and to assign them to cores."
Then I tried translating that WAG into (pseudo)code.
The translation step failed when I realized I'm missing some data -- which suggests that perhaps many of us are missing data needed to help. (See How do I post a question effectively? and On asking for help ).
So, perhaps you'll speed us toward answers directed to the problem case, rather than the post, by providing a small sample of the filenames in @file, your skills at dispatching data from one node to another (presuming you have the necessary permissions) and -- some code to show us how you plan to "collect the exit codes in an array as they complete (and state whether "complete means 'as a node finishes its assigned work' or means 'as each thread exits.'
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.