in reply to Parallelization of heterogenous (runs itself Fortran executables) code

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.

  • Comment on Re: Parallelization of heterogenous (runs itself Fortran executables) code