This contradicts this:
The problem is that with the forking inside the last loop it only starts max 6 processesWhich I did not notice at first but reading your post made me realize there might be something wrong here. Maybe the inner loop is so fast that the first child finishes before the seventh even starts? Which would make that loop a pretty bad candidate for parallelisation. Then again, this might be true with this test code, but not the actual program.
In reply to Re^2: Parallelization of multiple nested loops
by Eily
in thread Parallelization of multiple nested loops
by biosub
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |