by Daniel Robbins
This is not to say that compilers can automatically parallelize code. I would however really like to see that happen and here is an interesting and reliable way to parallelize operations.
Diagnostic 15521: loop was not vectorized: explicitly compute the iteration count before executing the loop.
Product Version: Intel® Fortran Compiler 15.0 and above
For more complete information about compiler optimizations, see our Optimization Notice.