Case Study: Maxwell Code Automatic Parallelization
The Maxwell program is automatically parallelized with: f77 -apo -O3 maxwell.f
There are 3 parallel sections:
- Initialization
- Calculation of H
- Calculation of E
There are no data dependencies in each of the lops;
The compiler divided k-loop iterations among N processors