- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm running large distributed parallel jobs. Due to the nature of the jobs, it is often not feasible to attach a debugger to a running job, or to run a task in the debugger.
One debugging tool that is useful in the Unix world is the core file. If a parallel task crashes, you get a core dump that can be analyzed in the debugger. The most important information (available even in executables built without debug) is the stack trace at the time of the crash.
Is there a way to get equivalent functionality using Visal Fortran?
One debugging tool that is useful in the Unix world is the core file. If a parallel task crashes, you get a core dump that can be analyzed in the debugger. The most important information (available even in executables built without debug) is the stack trace at the time of the crash.
Is there a way to get equivalent functionality using Visal Fortran?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which operating system? Under the NT family you have Dr. Watson dumps and mini dumps.
James
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good thought, but I'm not sure how this would be set up for a distributed application. In other words, can you do this if the program is started by a service on a remote host that is not known to the user at launch time?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way, this is W2K pro.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might try something like calling MiniDumpWriteDump from an exception handler, that should work for any case. For W2K you would need to distribute DbgHelp.dll to have access to this function. See the docs for minidumps.
James
James
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page