Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Core file equivalent on Windows

bradlepc
Beginner
649 Views
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?
0 Kudos
4 Replies
james1
Beginner
649 Views
Which operating system? Under the NT family you have Dr. Watson dumps and mini dumps.

James
0 Kudos
bradlepc
Beginner
649 Views
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
0 Kudos
bradlepc
Beginner
649 Views
By the way, this is W2K pro.

Pete
0 Kudos
james1
Beginner
649 Views
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
0 Kudos
Reply