Visible to Intel only — GUID: GUID-80BEE4A3-7732-436A-A7CC-99DF7DC94457
Visible to Intel only — GUID: GUID-80BEE4A3-7732-436A-A7CC-99DF7DC94457
Debug Multithreaded Programs
The debugging of multithreaded programs discussed in this topic applies to both the OpenMP* Fortran API and the Intel® Fortran parallel compiler directives. When a program uses parallel decomposition directives, you must take into consideration that the bug might be caused either by an incorrect program statement or it might be caused by an incorrect parallel decomposition directive. In either case, the program to be debugged can be executed by multiple threads simultaneously.
To determine the correctness of and debug multithreaded programs, you can use the debugger provided by your operating system combined with Intel® Fortran Compiler debugging options and methods; in particular, debug and traceback options.
Linux* and macOS
Use the gdb debugger.
Windows*
Use the Microsoft Visual Studio* debugger.