in reply to Parallelization of heterogenous (runs itself Fortran executables) code
Dictum Ne Agas: “ Do not do a thing already done.
If you're doing a CPU-intensive task, then “threads” won't help you: threads divide the computer's time; they do not multiply it. Only a cluster of actual discrete CPUs will do the trick.
And since “that's tricky,” ... “It's a bird! No, it's a plane! No, it's CPAN To The Rescue!” There are numerous tested-and-debugged modules available to do what you have in mind. (There are also full-fledged batch scheduling systems.) So... enter the mindset that you are not setting out to “build” your solution, but merely to “find” it. Rocket-scientists all over the globe have addressed exactly the same problem, solved it thoroughly, and given away their solution.
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parallelization of heterogenous (runs itself Fortran executables) code
by Jochen (Acolyte) on Nov 20, 2007 at 22:24 UTC | |
by perlfan (Parson) on Nov 20, 2007 at 23:16 UTC | |
by BrowserUk (Patriarch) on Nov 20, 2007 at 23:58 UTC |