IBM XLC/XLF

Arm recommends using the -qfullpath option to prevent issues with Arm® Forge locating source files.

Using IBM XL compilers with optimization level -O2 or higher can lead to partial traces in Arm® MAP, because insufficient information is available to fully unwind the call stack.

For the best OpenMP debug experience, compile your code with -qsmp=omp:noopt instead of -qsmp=omp.

For more information about debugging OpenMP, see Debug OpenMP programs.

To view Fortran assumed size arrays in DDT, right-click on the variable, select Edit Type and enter the type of the variable with its bounds, for example integer arr(5).

For the best experience when debugging GPU code built with IBM XL, disable all GPU optimizations. For example:

xlc -g -O0 -qsmp=omp:noopt -qoffload -qfullpath -qnoinline -Xptxas -Xllvm2ptx -nvvm-compile-options=-opt=0 target_example1.c -o target_example1.exe