none
HPC debugging error RRS feed

  • Question

  • Hi, all

    Using HPC Debugger Add-on for MPI and Cluster-SOA http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d3993532-bdf8-4024-b164-db2ee8a851f5

    Like in MSDN article http://msdn.microsoft.com/en-us/library/ee945380(v=MSDN.10).aspx  I've created Cluster-SOA client and service (and deploed it on cluster).

    While debugging, when I reach first breakpoint in line

      using (Session session = Session.CreateSession(startInfo, 60 * 1000))

    and press F10, debugging is faled.

    In  HPC Job Manager under this job I have this error massage:

    " Canceled during execution: Job is canceled when SOA debugger exits. "

    In view failed tasks window I have next error massage:

    "   The task's job has been canceled. Please see the Job details for additional information. "

    Output :

    " Data is sent back to the IDE "

     

     

     

     

    What is reason? Please help.

     

     

     

     

     

     

     

    Thursday, April 8, 2010 6:28 PM

Answers

  • Kandaur, per offline conversation. Glad to hear that you can use the hpc debugger for "elementary service". For "main nonelementary service", you need to deploy the dependency assemblies to the nodes in cluster, otherwise the HpcServiceHost.exe fails to load your service assembly. You can use the “Files of selected services” property in “Cluster-SOA Debug” to add those assemblies for deployment.

    Tuesday, April 13, 2010 2:09 AM

All replies

  • Hi Kandaur,

    I am the owner of this debugger. It looks like that the code fails to create a session, so vs changes from debug mode back to the design mode and cancels the job.

    Some questions for you:

    Which version of the hpc cluster do you use? This soa debugger is only for Windows HPC Pack 2008 (but not R2). We will release soa debugger for Windows HPC Pack 2008 R2 (Beta2) soon.

    Do you select the headnode in property page, and use that same headnode in your client code?

    Do you update the client config file according to the step 5&6 in post http://msdn.microsoft.com/en-us/library/ee945380(v=MSDN.10).aspx?

    Could you catch the exception if it is thrown by "Session.CreateSession" method?

     

    Thanks,

    Qing

    Friday, April 9, 2010 6:33 AM
  • Hi Qing, thank you for your answer.

    I'm using Windows HPC Pack 2008 R2. But when I tried to run elementary service (its return the square of argument) anything was OK, and program was successfully debugging.

    Name of headnode in property page and in client are same.

    Steps 5&6 are successful. But there were problems with step 7. "In Solution Explorer, right-click SampleServiceLib, and then click Properties; In the properties page, click the WCF Options tab." But on properties page there were not WCF Options tab.

    May be the reason of it is that updates  KB 957912 &  KB 971932 couldn't install on my laptop because they are not intended for my VS vertion 9.0.21022.8 RTM

    But even without step 7 my square service was successfully debugged.

    If I'm not mistaken there were not any exception thrown by this method.

     

     

    Thank you,

     Kandaur

    Friday, April 9, 2010 1:28 PM
  • Sorry Qing, it turned out that I'm using Windows HPC Pack 2008 not R2. But my problems are still obtained.
    Monday, April 12, 2010 1:16 PM
  • KB 957912 &  KB 971932 is based on vs2008 sp1.

    You mean you can debug your "elementary service" in your environment by HPC Debugger, right?

    It is really weird that you can't create a session without any exception. Could you send your solution to me qingzhi@microsoft.com?

     

    Monday, April 12, 2010 2:31 PM
  • Kandaur, per offline conversation. Glad to hear that you can use the hpc debugger for "elementary service". For "main nonelementary service", you need to deploy the dependency assemblies to the nodes in cluster, otherwise the HpcServiceHost.exe fails to load your service assembly. You can use the “Files of selected services” property in “Cluster-SOA Debug” to add those assemblies for deployment.

    Tuesday, April 13, 2010 2:09 AM