There's more than one way to do things | |
PerlMonks |
Re: Parallelization of heterogenous (runs itself Fortran executables) codeby jbert (Priest) |
on Nov 20, 2007 at 12:04 UTC ( [id://651907]=note: print w/replies, xml ) | Need Help?? |
Given your CPU-intensive processes are already outside your perl process, you don't need threads to make this work.
Just start the fortran child processes all at once and wait for the child processes to exit. You can do this yourself, but a module like Parallel::ForkManager or IPC::Run is probably going to be of some help here.
In Section
Seekers of Perl Wisdom
|
|