none
Can I create a minidump of the task process? RRS feed

  • Question

  • We're developing several command line based executables to run on HPC, and some of them end with unfamilliar exit codes.

    So, we decided to deploy a DUMP GENERATOR using HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug registry key.

    Unfortunatly, it donesn't work. It seems that the exception of the task processes were handled by HPC Node Manager.

    Of course, we could add the DUMP GENERATING code into each task process, however, we gave up because we have so many executables to change.

    I read an article (http://msdn.microsoft.com/en-us/magazine/cc163620.aspx) and I found the line that CCP node manager has an option to generate Dr. Watson crash dump. But I couldn't find the option with HPC.

    Does the option is still available on HPC 2008?

    If available, how can I activate the option?

    Otherwise, do you have any idea to create minidumps of task process?

    Monday, July 5, 2010 2:13 AM

Answers

  • I successfully created a dump C:\Users\colinw\AppData\Local\CrashDumps\crash.exe.4824.dmp by creating the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps on each compute node where dumps are required. The following article describes the feature and how it can be controlled. I tested this on my HPC V3 cluster running Windows Server 2008 R2.

    http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx


    -Colin, Microsoft HPC
    • Marked as answer by medicx Tuesday, July 27, 2010 12:32 AM
    Thursday, July 22, 2010 4:58 PM

All replies

  • I successfully created a dump C:\Users\colinw\AppData\Local\CrashDumps\crash.exe.4824.dmp by creating the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps on each compute node where dumps are required. The following article describes the feature and how it can be controlled. I tested this on my HPC V3 cluster running Windows Server 2008 R2.

    http://msdn.microsoft.com/en-us/library/bb787181(VS.85).aspx


    -Colin, Microsoft HPC
    • Marked as answer by medicx Tuesday, July 27, 2010 12:32 AM
    Thursday, July 22, 2010 4:58 PM
  • Thanks, it worked well on my HPC 2008 SP1.

    I didn't try WER because I thought I would meet the same situation with WER.

    Actually, I wanted to have dumps with name (datetime).(nodename).(processname).dmp.

    Anyway, with WER, I can't set the dump file name, and that's why I tried to make my own dump generator. So, I hope I can handle the exceptions of tasks with next version of HPC node manager. I mean I'd like to add my own rules, plugins or FILTERS on node manager.

    Thanks.

    • Proposed as answer by Colin Watson Sunday, August 1, 2010 11:20 PM
    Tuesday, July 27, 2010 12:45 AM
  • I'm glad it worked for you. i will investigate customisation of the filename for a future release.
    -Colin, Microsoft HPC
    Sunday, August 1, 2010 11:23 PM