I have some difficulties due to OMP directives. I am compiling on linux64 with ifort 220.127.116.113 build 20120212 and following flags:
-g -O0 -fp-model precise -openmp -Dmkl -ftz -extend-source -DFCCI -check uninit -fpe0 -ftrapuv -traceback
. I am stepping into a subroutine during debug (idbc or gdb). But both debuggers provides exactly the same line number (888) which does not correspond to the called subroutine. The called subroutine is written in a source file which contains 5 subroutines. I am calling the 5th one which start at line 1567. Line 888 is the middle of the 3rd subroutine.
Each subroutine in this source file uses OMP directives :
!$OMP DO SCHEDULE(DYNAMIC,1)
!$OMP END DO
The problem disappear if I remove these OMP directives. Line number is also consistent with source file.
Is it expected or a known issue ?
Thanks for any help.