I have what I believe to be a simple question.
I’m compiling a fairly large code using pgf90 and was wondering if there are debugging compiler options that would tell me where in the
code it runs into errors (like FPEs or SegFaults). Right now I am use this
set of options (see below) and I thought -traceback should give me some information about where in the source code I experience issues. Unfortunately it just tells me I have an issue and the job terminates. Am I missing something?
F90FLAGS = -Mbounds -Minfo=all -traceback -Mchkfpstk -Mchkstk -Mdalign
-Mdclchk -Mdepchk -Miomutex -Mrecursive -Msave -Ktrap=fp -O0 -g -byteswapio
Also are there a standard set of debugging options that would be good practice to use for diagnosing runtime errors?
Thanks in advance!