Hi,
I’ve a fortran code(mix of F77 & F90 source) with openmp parallelism. The code works fine with gfortran compiler for serial and as well as with openmp threads. But with PGI - pgf90 -15.1 compiler, the serial executable executes well. But for OpenMP compilation, the executable seg-faults. I tried debugging code with pgdbg, and it shows seg-fault with following message:
pgdbg> s
Stopped at 0x4DAB00, function exner_hyb, file exner_h
yb_m.f90, line 58
#58: if (llm.eq.1) then
pgdbg> s
Stopped at 0x4DAB70, function exner_hyb, file exner_h
yb_m.f90, line 69
pgdbg> c
Signalled SIGSEGV at 0x7F713163B38F, function pgf90_mm_real8_str1_
0x7F713163B38F: 48 89 8C 24 58 1 0 0 movq %rcx,344(%rsp)
Is this problem due to our code or a bug with pgf90-15.1 compiler itself?