locked
error code -1073741502 RRS feed

  • Question

  • Hi

    I am getting this error message when I run my job through the HPC Cluster Manager:

    ------------

    Task failed during execution with exit code -1073741502. Please check task's output for error details.

    ------------

    Can you please let me know what this error code means and how to resolve it ?

    Thanks & Regards,

    Kunal

    Wednesday, September 15, 2010 11:06 PM

Answers

  • Hi Kunal,

    It looks like the problem is coming from your app and MSVCR90.dll. How did you compile your app? Have you added MSVCR90.dll as the depence of your project? You may try to Add to your debug project settings to ignore MSVCR90, MSVCR80, and MSVCRT as import libraries. Compile your app again and run it without copying MSDCR90.dll.

    Thanks,

    James

    • Marked as answer by Don Pattee Wednesday, January 12, 2011 3:00 AM
    Friday, October 8, 2010 4:39 AM

All replies

  • Hello Kunal,

    THe error code means "Initialization of the dynamic link library failed". Could you give more details about your application, i.e. what version of MPI, which OS, what kind of application? It would be great if you can put your source code for debugging.

    Thanks,

    James

    Thursday, September 16, 2010 7:16 PM
  • Hi James,

     I am using Windows HPC Server 2008, HPC Edition while compiling the code. And the Head node from where I deploy it to the cluster is having Windows HPC Server 2008, Enterprise Edition. The compiler being used is Intel Compiler Suite v 11.1 and I am using MSMPI from Microsoft HPC Pack 2008 SDK. 

    Unfortunately, the code is too big to be posted here.

    Any suggestions you can give to resolve this error? I have all the dll's in place, right ? Since it is not giving missing dll error. Could it be that one of the dll being used is corrupt ? 

    Thanks & Regards,

    Kunal

    Thursday, September 23, 2010 1:04 AM
  • Hi Kunal,

    I assume the you run the job with job scheduler for your mpi app. If so, could you try with mpiexec -n 1 [mpiapp] on the node which failed your task? Also, you may look the event log checking whether there is some log there.

    Thanks,

    James

    Thursday, September 23, 2010 4:35 AM
  • Hi James

     Yes, I am running the job through the job scheduler from HPC Cluster Manager. I tried with mpiexec -n 1 myapp.exe on the head node but it failed with the same error. Also, there is no error in the activity log. 

    The only error message I see when I click on view failed tasks is:

    ------------

    Task failed during execution with exit code -1073741502. Please check task's output for error details.

    ------------

    Then I checked the dlls required for this app using the dumpbin.exe utility:

    $dumpbin.exe /DEPENDENTS myapp.exe

    and these are the one's it showed:

     

     msmpi.dll

     libifcorert.dll

     libmmd.dll

     MSVCR90.dll

     svml_dispmd.dll

     KERNEL32.dll

     

    I have added all of these dlls in the folder where the application is present and from where it is picked up to execute. Is the error code saying that one of these dlls has a problem with initialization ?

    Thanks & Regards,

    Kunal

    Friday, September 24, 2010 2:36 AM
  • Hi James,

      I checked in the event log and it shows the following error:

      -------------

      Faulting application flash3.exe, version 0.0.0.0, time stamp 0x4c9c06b1, faulting module MSVCR90.dll, version 6.0.6001.18000, time stamp 0x4791adec, exception code 0xc0000142, fault offset 0x00000000000b1188, process id 0x1078, application start time 0x01cb5ba2cbc69337.

      -------------

      The detailed xml view is:

       ------------

       - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

    - <System>
      <Provider Name="Application Error" />
      <EventID Qualifiers="0">1000</EventID>
      <Level>2</Level>
      <Task>100</Task>
      <Keywords>0x80000000000000</Keywords>
      <TimeCreated SystemTime="2010-09-24T04:41:47.000Z" />
      <EventRecordID>8407</EventRecordID>
      <Channel>Application</Channel>
      <Computer>Head.HPC.Test</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>flash3.exe</Data>
      <Data>0.0.0.0</Data>
      <Data>4c9c06b1</Data>
      <Data>MSVCR90.dll</Data>
      <Data>6.0.6001.18000</Data>
      <Data>4791adec</Data>
      <Data>c0000142</Data>
      <Data>00000000000b1188</Data>
      <Data>1078</Data>
      <Data>01cb5ba2cbc69337</Data>
      </EventData>
      </Event>

       ----------------

      Any suggestions on resolving this ?

    Thanks & Regards,

    Kunal

    Friday, September 24, 2010 5:55 AM
  • Hi Kunal,

    It looks like the problem is coming from your app and MSVCR90.dll. How did you compile your app? Have you added MSVCR90.dll as the depence of your project? You may try to Add to your debug project settings to ignore MSVCR90, MSVCR80, and MSVCRT as import libraries. Compile your app again and run it without copying MSDCR90.dll.

    Thanks,

    James

    • Marked as answer by Don Pattee Wednesday, January 12, 2011 3:00 AM
    Friday, October 8, 2010 4:39 AM