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. "
" Data is sent back to the IDE "
What is reason? Please help.
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?
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.
2010年4月12日 13:16Sorry Qing, it turned out that I'm using Windows HPC Pack 2008 not R2. But my problems are still obtained.
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 email@example.com?
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.
- 回答としてマーク Don PatteeModerator 2010年5月6日 23:39