Tutorial: Where to Add Parallelism with Intel® Advisor 2015 and a Fortran Sample
Is the predicted maximum speedup benefit worth the effort to fix the data sharing problems? In this case, yes. But you may have a different answer when you use the Intel Advisor to find where to add parallelism in your own applications.
Each step is described more fully below.
Click Correctness Report in the navigation toolbar to re-open the Correctness Report.
In the Problems and Messages pane, right-click the Data communication data row and choose Edit Source to open the nqueens_serial.f90 source file in an editor.
Search for ADVISOR CORRECTNESS EDIT and follow the directions in the sample code to fix the problems. Make six total edits: Make a private copy of queens_in and uncomment two lock annotation lines.
Save your edits.
In the terminal session:
Change directory to the nqueens/ directory (where the zipped sample files were extracted to).
Type make 1_nqueens_serial_debug to rebuild the target in debug mode.
Under
4. Check Correctness in the
Advisor Workflow, click the
button to collect Correctness data again.
Notice the Correctness Report now reports No problems detected.
Click Summary in the navigation toolbar to re-open the Summary window. Notice this dashboard now shows zero Correctness problems.