- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like for the traceback information to be printed when I call abort in my code, but it doesn't seem to be doing this. From what I've read, it seems like calling abort should print a stack trace. Is there something else I need to do to get this to work? Thanks!
I've compiled with the following options using both ifort versions 11.1.046 and 2013.0.079:
-FR -assume byterecl -g -debug all -traceback
all it prints is
abort: Fortran Abort Called
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A traceback is provided only when an exception is raised or the Fortran run-time system detects an error condition. Calling abort simply exits the application with no chance for the traceback to be issued. You can call TRACEBACKQQ (USE IFCORE to declare it) to get a traceback at any point.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A traceback is provided only when an exception is raised or the Fortran run-time system detects an error condition. Calling abort simply exits the application with no chance for the traceback to be issued. You can call TRACEBACKQQ (USE IFCORE to declare it) to get a traceback at any point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That works, thanks!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page