Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28446 Discussions

Debugging a simple multithreaded program

Luis_Solis
Beginner
177 Views

Hi

The program is a simple example

Source2.f90

If I put a breakpoint before !$OMP PARALLEL construct, I can inspect local variables a and t1. But if I put another breakpoint after !$OMP END PARALLEL, a values are shown as undefined pointer/array and t1 variable disappear. Nevertheless the two write statements shows the expected values.

There are any way to inspect these variables after !$OMP END PARALLEL construct

0 Kudos
0 Replies
Reply