Windows HPC Server Developers - General ForumDedicated to Windows HPC most aspects around application development© 2009 Microsoft Corporation. All rights reserved.Tue, 24 Nov 2009 06:45:34 Z5295fe9a-58d7-4308-a8d6-7b6908be9bf4http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/8cebfe06-5421-438e-b8b3-7ddfdf0c78d2http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/8cebfe06-5421-438e-b8b3-7ddfdf0c78d2prashshttp://social.microsoft.com/Profile/en-US/?user=prashsFinding number of nodes that are a part of a job template from C# APIHi, <div><br/></div> <div>I am trying to get the number of nodes that are a part of a particular job template. </div> <div><br/></div> <div>In the HPC cluster manager, if I go to Configuration--&gt;JobTemplates, I can right click on a job template and set the node group property. I can make several nodes a member of a node group. So when I do the following:</div> <div><br/></div> <div> <div>ISchedulerJob job = _scheduler.CreateJob();</div> <div>job.SetJobTemplate(&quot;job_template_name&quot;);</div> <div><br/></div> <div>The job gets forwarded to one of the nodes on the nodegroups that are specified in the job template named &quot;job_template_name&quot;.</div> <div><br/></div> <div>Before submitting a job to a particular job template, I want to know how many nodes are available in that particular job template. Is there any API to do this?</div> <div><br/></div> <div>I have tried the following API. There are functions which give me a node list (GetNodeList), a job template list (GetJobTemplateList) and a nodegroup list (GetNodeGroupList). </div> <div><br/></div> <div>If I get the nodegroups associated with a job template, I can get the nodes using the GetNodesInNodeGroup(nodegroupname) method. But again I could not find any way of getting the nodegroups associated with a  &quot;job template&quot;.</div> <div><br/></div> <div> <div> <div>IStringCollection dummy = _scheduler.GetJobTemplateList();</div> <div>IStringCollection dummy1 = _scheduler.GetNodesInNodeGroup(nodegroup);</div> <div>IStringCollection dummy2 = _scheduler.GetNodeGroupList();</div> <div><br/></div> <div>Another approach might be to use filters with &quot;GetNodeList&quot; method. Following is a simple filter which gives me all the nodes with more than one cores:</div> <div><br/></div> <div>IFilterCollection filters = null;</div> <div>filters = _scheduler.CreateFilterCollection();</div> <div>filters.Add(FilterOperator.GreaterThanOrEqual, NodePropertyIds.NumCores, 1);  </div> <div>ISchedulerCollection nodes = _scheduler.GetNodeList(filters, null);</div> <div><br/></div> <div>Does anybody have an idea, how to create a filter which says...give me all the nodes for a particular job template?</div> <div><br/></div> <div>Thanks!</div> <div>Prashant</div> <div><br/></div> </div> </div> </div>Wed, 11 Nov 2009 20:04:16 Z2009-11-24T06:45:34Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/78794ca6-4bde-408f-a082-a9f4d09db0c4http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/78794ca6-4bde-408f-a082-a9f4d09db0c4hiasahttp://social.microsoft.com/Profile/en-US/?user=hiasaProblem filtering job status (c#)Hi, <div><br/></div> <div>I am trying to use C# to get job status from Windows HPC Server 2008 scheduler.</div> <div>I want to use filter to get all &quot;Active&quot; jobs only, but I am having problem setting up the filter :(</div> <div>I am pretty sure the problem in the way I add filter options, but I have no idea on how to solve it.</div> <div>Could someone help me to solve this problem?</div> <div><br/></div> <div>Thank you</div> <div><br/></div> <div> <div style="color:Black;background-color:White"> <pre>Scheduler scheduler = <span style="color:Blue">new</span> Scheduler(); scheduler.Connect(<span style="color:#A31515">&quot;hpcs2008&quot;</span>); IFilterCollection filters = <span style="color:Blue">null</span>; filters = scheduler.CreateFilterCollection(); filters.Add(FilterOperator.Equal, PropId.Job_State, JobState.Canceling); filters.Add(FilterOperator.HasBitSet, PropId.Job_State, JobState.Configuring); filters.Add(FilterOperator.HasBitSet, PropId.Job_State, JobState.Finishing); filters.Add(FilterOperator.HasBitSet, PropId.Job_State, JobState.Queued); filters.Add(FilterOperator.HasBitSet, PropId.Job_State, JobState.Running); filters.Add(FilterOperator.HasBitSet, PropId.Job_State, JobState.Submitted); filters.Add(FilterOperator.HasBitSet, PropId.Job_State, JobState.Validating); <span style="color:Blue">foreach</span> (<span style="color:Blue">int</span> jobId <span style="color:Blue">in</span> scheduler.GetJobIdList(filters, <span style="color:Blue">null</span>)) { str += jobId.ToString() + <span style="color:#A31515">&quot; &quot;</span>; str += scheduler.OpenJob(jobId).State.ToString() + <span style="color:#A31515">&quot; &quot;</span>; str += scheduler.OpenJob(jobId).UserName.ToString() + <span style="color:#A31515">&quot; &quot;</span>; ... } </pre> </div> <br/></div> <div><br/></div>Tue, 10 Nov 2009 08:10:41 Z2009-11-24T02:14:45Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/dc38b7cc-9716-4b0c-b476-da1ae28f2565http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/dc38b7cc-9716-4b0c-b476-da1ae28f2565Mithlanhttp://social.microsoft.com/Profile/en-US/?user=MithlanHPC Task DependencyOur workflow requires that a job be submitted with an initial task then later tasks will be added on dynamically.  I can not get the tasks to be dependant on each other, they always end up as a single group and thus would be run in parallel.<br><br>Steps:<br>1. Submit job with first task named 'A'<br>2. During creation of second task additionally call: task.DependsOn.Add(&quot;A&quot;); to set the dependancy which should create a 'Group 2' in the HPC Job Manager GUI.<br><br>Is there an additional step needed?<br><br>I have been able to get this to work from the HPC Job Manger GUI but not been able to do it programatically.<br><br>I am running the released HPC 2008 and linked against these versions.<br>Microsoft.Hpc.Scheduler.dll -- 2.0.1551.0<br>Microsoft.Hpc.Scheduler.Properties.dll -- 2.0.1551.0<br>Microsoft.Hpc.Scheduler.Session.dll -- 2.0.1551.0<br>Microsoft.Hpc.Scheduler.Store.dll -- 2.0.1452.0<br><br>Is thte HPC Job Manger still using the old CCP assemblies (which would make this a bug in the new Hpc named ones?)Wed, 19 Nov 2008 00:55:19 Z2009-11-20T00:30:03Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/7c5ca44b-7626-438b-90fb-8cd6252d4f44http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/7c5ca44b-7626-438b-90fb-8cd6252d4f44goldfingerhttp://social.microsoft.com/Profile/en-US/?user=goldfingerExcel-HPC solutions <p>I'm confused and have some questions.<br><br>I took a look at the Microsoft Excel-Compute cluster server ADAPTER demo. <br>&quot;The Excel CCS adaptor sample makes its User Defined Function calls through job submission, COM Proxy and file shares&quot;<br><br>It's unclear for me whether I need the Office Sharepoint Excel Services on the compute nodes or not.<br>Will it need the Microsoft.Office.Excel.Server.Udf.dll stuff ?  If not what is the difference between the both approaches?<br><br><br>Is there a solution to use Excel  UDF together with  WCF SOA model in a HPC environment?<br><br>What is the timeframe and meaning for the following statement? (Office 14?)<br>&quot;We will be looking at more ways to integrate Excel-HPC solutions in the near future.&quot;<br><br><br><br></p>Wed, 17 Dec 2008 21:32:26 Z2009-11-17T04:35:47Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/29e9f641-0fcf-49a9-b197-087dee773d14http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/29e9f641-0fcf-49a9-b197-087dee773d14Don Patteehttp://social.microsoft.com/Profile/en-US/?user=Don%20PatteeWindows HPC Server 2008 R2 Beta 1 now available<p><strong>Our first Beta release is now available!</strong> You can read the full press release at <a href="http://www.microsoft.com/presspass/press/2009/nov09/11-16SC09PR.mspx">http://www.microsoft.com/presspass/press/2009/nov09/11-16SC09PR.mspx</a> if you're in to reading that kind of thing ;)</p> <p>Windows HPC Server 2008 R2 delivers productivity, performance and ease-of-use improvements in several areas, including the following:</p> <ul> <li>Improved scalability, with Windows HPC Server 2008 R2 offering out-of-the-box support for deploying, running and managing clusters up to 1,000 nodes</li> <li>New configuration and deployment options such as diskless boot, mixed-version clusters and support for a remote head node database</li> <li>Improved system management, diagnostics and reporting including an enhanced heat map, multiple customizable tabs, an extensible diagnostic framework and the ability to create richer custom reports</li> <li>Improved support for service-oriented architecture (SOA) workloads including a new fire-and-recollect programming model, finalization hooks, improved Java interoperability, automatic restart and failover of broker nodes, and improved management, monitoring, diagnostics and debugging</li> <li>Message Passing Interface (MPI) and networking enhancements including optimizations for new processors, enhanced support for RDMA over Ethernet and InfiniBand, improved MPI debugging, and a pushbutton HPC LINPACK optimization wizard</li> <li>New ways to accelerate Microsoft Office Excel workbooks such as support for Cluster-Aware User-Defined Functions and the capability to run distributed Excel 2010 for the cluster</li> </ul> <p><strong>Come and join our beta program to give it a try, and you can give us feedback (positive or negative) on it: </strong><a href="http://connect.microsoft.com/HPC/content/content.aspx?ContentID=6923"><strong>http://connect.microsoft.com/HPC/content/content.aspx?ContentID=6923</strong></a><br/>(posting in the 3 main forums, sorry for the spam if you read all of them :) )</p>Tue, 17 Nov 2009 00:15:41 Z2009-11-17T00:15:41Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/9d00271d-46e1-4996-ac4e-5e6a46134bf7http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/9d00271d-46e1-4996-ac4e-5e6a46134bf7hiasahttp://social.microsoft.com/Profile/en-US/?user=hiasaget node management information C#<span style="font-family:'MS PGothic';font-size:medium"> <div style="color:#000000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:67%;background-image:initial;background-attachment:initial;background-color:#ffffff;background-repeat:initial initial;margin:8px">Hi, <div><br/></div> <div>I am trying to get node management information of windows hpc server 2008 from c#, but I can't find any information.</div> <div>The information I want to get are like &quot;HPC Cluster Manager -&gt; Node Management -&gt; Heat Map -&gt; CPU Usage, disk throughput etc.&quot;</div> <div><br/></div> <div>Could someone help me on this problem?</div> <div><br/></div> <div>Thank you</div> </div> </span>Fri, 13 Nov 2009 09:46:39 Z2009-11-16T00:20:47Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/5d5e414a-5bf6-462c-a617-202a97dfda3bhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/5d5e414a-5bf6-462c-a617-202a97dfda3bjkastrinoshttp://social.microsoft.com/Profile/en-US/?user=jkastrinosRemove jobs listed in Job ManagementHPC Newbie.  I have a page of Finished jobs listed in the Job Management window.  Is there a way to delete them so that they no longer list?  Thanks. jkastrinosMon, 02 Nov 2009 20:05:38 Z2009-11-06T09:42:59Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6d9f4df3-a3b4-4831-9db4-f96ddf573ffahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6d9f4df3-a3b4-4831-9db4-f96ddf573ffaRajahShttp://social.microsoft.com/Profile/en-US/?user=RajahSRecommended approach for deployment of HPC Scheduler-aware applications?We have several applications that schedule jobs on the cluster (built using the sdk scheduler api's) that we need to deploy to multiple servers.  Is there some kind of HPC-Redist that exists for applications developed with the HPC Pack 2008 SDK?  It seems overkill to install the entire SDK, and does it also need the HPC Utilities from the HPC Pack? Do we just need a couple of dlls?Thu, 05 Nov 2009 12:36:49 Z2009-11-06T09:35:43Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/859cd20a-b319-465e-ab9e-0f3493cdd381http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/859cd20a-b319-465e-ab9e-0f3493cdd381Luke Scharfhttp://social.microsoft.com/Profile/en-US/?user=Luke%20ScharfPreferred Fortran compiler for MPI development on Win2k8 cluster?Which Fortran compiler do all y'all prefer for MPI development for a Windows 2008 cluster?  Integration with Visual Studio 2008 would be a plus.<br/> <br/> Thanks,<br/> -Luke<br/>Fri, 23 Oct 2009 21:55:44 Z2009-10-28T16:36:35Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ff02d5c8-fec7-4708-a06b-61caf3c94492http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ff02d5c8-fec7-4708-a06b-61caf3c94492Asaf Shellyhttp://social.microsoft.com/Profile/en-US/?user=Asaf%20ShellyMultiple Clusters<div>Hi all,<br/><br/>Do we have any document or resource that explains how to build large HPC clusters with hundreds of nodes?</div> <div>The bandwidth is problematic and there needs to be some management and network cluster hierarchies.</div> <div> </div> <div>Best Regards</div> <div>Asaf</div><hr class="sig">Asaf Shelly [Microsoft MVP]Thu, 17 Sep 2009 05:49:52 Z2009-10-27T11:18:34Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/2b6f9348-9de8-49dd-8309-10b03099a0c9http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/2b6f9348-9de8-49dd-8309-10b03099a0c9coffeebeanhttp://social.microsoft.com/Profile/en-US/?user=coffeebeanCluster graphical interface environmentHello,<br/><br/>   I have an application that normally has a graphical interface.  I have been able to run on a compute node succesfully, on CCS 2003, however there is some functionality that is not accessible through the batch interface that I'm running it on.  I have tried to access the (non-visible) windows that I assume exist (virtually), but GUI commands like EnumWindows() are failing.   Can these windows be accessed some way (i.e. win32 GUI software interface) or perhaps redirect the graphical output somewhere that I can access it?<br/><br/>    ThanksTue, 21 Jul 2009 21:31:20 Z2009-10-16T18:05:03Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/d8a39951-a7f4-4192-8f76-5a11e0fa7dc3http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/d8a39951-a7f4-4192-8f76-5a11e0fa7dc3Phil Molzerhttp://social.microsoft.com/Profile/en-US/?user=Phil%20MolzerInvalidCredentialException on task submit to SOA service<p>Hi,<br />I am able to successfully submit work to a SOA service using my own credentials.&nbsp; However, when I try to use other credentials, I get an InvalidCredentialException (see below).&nbsp; This happens after my connection succeeds and I've been&nbsp;assigned to a broker.&nbsp; <br /><br />I have added the user to the the cluster with : Add-HpcMember -Name csfb\ditsmfarm -Role Administrator<br /><br /><br />HPCClient.exe csfb\ditsmfarm<br />Enter the password for 'csfb\ditsmfarm' to connect to 'SNYC12T10801-HN':<br />Remember this password? (Y/N)n<br />Session creation done!<br />Session's Endpoint Reference:net.tcp://snyc12t10801-hn:9087/broker/59</p> <p>Unhandled Exception: System.ServiceModel.Security.SecurityNegotiationException: Either the target name is incorrect or the server has rejected the client credentials. ---&gt; System.S<br />ecurity.Authentication.InvalidCredentialException: Either the target name is incorrect or the server has rejected the client credentials. ---&gt; System.ComponentModel.Win32Exception:<br />&nbsp;The logon attempt failed<br />&nbsp;&nbsp; --- End of inner exception stack trace ---<br /><br />What am I missing?<br />thanks<br />Phil</p>Wed, 07 Oct 2009 14:11:05 Z2009-10-10T08:16:11Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/f235768e-da81-46c4-8567-20677d573b64http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/f235768e-da81-46c4-8567-20677d573b64Phil Molzerhttp://social.microsoft.com/Profile/en-US/?user=Phil%20Molzerhow to set service library pathHi,<br />how do I configure the library path for a service?&nbsp; Is it just PATH var in &lt;environmentVariables&gt; in the service .config?&nbsp; If so, is <em>%PATH%;newstuff</em> the correct syntax?<br />Other vendors do this like so<br />DataSynapse - grid-library.xml file - &lt;grid-library&gt;&lt;lib-path&gt; section<br />Platform - service&nbsp;profile - &lt;Profile&gt;&lt;Service&gt;&lt;osTypes&gt;&lt;osType&gt;&lt;env&gt; section<br />thanks<br />PhilMon, 05 Oct 2009 13:50:32 Z2009-10-08T15:20:56Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/8bbff06d-b49e-462b-a1bb-169a129046d2http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/8bbff06d-b49e-462b-a1bb-169a129046d2Phil Molzerhttp://social.microsoft.com/Profile/en-US/?user=Phil%20MolzerSOA service publishing and discoveryHi,<br />I will install multiple SOA services on HPC Server.&nbsp; <br /><br />1. Does the server provide a facility for publishing the services?&nbsp; In the Cluster Manager, I can't even see the installed services except when I run SOA diagnostics to list them.&nbsp; Is there a VisualStudio tool to connect to a head node and enumerate the installed services, produce a Service Reference, etc?<br /><br />Does the cluster manager provide a facility for generating client proxies for the installed services?&nbsp; I've been using svcutil for this.&nbsp; <br />thanks<br />PhilFri, 02 Oct 2009 17:49:32 Z2009-10-07T15:34:50Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/4a064741-c700-4243-81c2-542819603180http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/4a064741-c700-4243-81c2-542819603180ejbakerhttp://social.microsoft.com/Profile/en-US/?user=ejbakerMSMPI communication : 32-bit to 64-bit processI want to run MPI on a 32-bit Windows XP machine (have to because I only have a 32-bit driver for a DAQ board) and have a process on that box talk over MPI to a process on a 64-bit Windows Vista machien (have to because I need to access &gt;4GB of address space).<br/><br/>MPICH2 will not do this and I have not found 64-bit versions of MPICH.<br/><br/>Will MSMPI do this?  Please advise.Fri, 25 Sep 2009 00:52:03 Z2009-09-27T04:39:20Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/0eb1e635-e996-4619-99a9-1fe32b60da6ehttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/0eb1e635-e996-4619-99a9-1fe32b60da6eprinaldohttp://social.microsoft.com/Profile/en-US/?user=prinaldoWindows 2008 failover clustering minimum storage requirements<p>Hello,<br/><br/>I'm sorry, I don't need HPC, but I haven't found another forum treating failover...<br/><br/>I'm new to clustering, I need to configure a minimal, cheap two nodes file server failover cluster.<br/>This will replace an old Novell SFT3 installation, from the point of view of the customer simply builded with two identical servers and a GB link.<br/>I've already read the &quot;Step-by-Step Guide ....doc&quot; , I need to focus on the storage requirements.<br/>There's no way to use an internal SCSI RAID instead of an expensive shared SCSI (SAN), isn't it?<br/>(I suppose the file system, along with the witness disk, must be available for the two nodes, each node running only the 'server' process)<br/>Any suggestion for saving money building a whole SFT file server will be appreciated !<br/><br/>thank you<br/><br/>Paolo<br/><br/><br/><br/><br/><br/><br/></p>Tue, 15 Sep 2009 16:52:06 Z2009-09-16T00:20:26Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/c0d6276a-a581-4a45-ae49-7d15ab315f02http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/c0d6276a-a581-4a45-ae49-7d15ab315f02jingsongwanghttp://social.microsoft.com/Profile/en-US/?user=jingsongwangDebugging MPI app in VS2008Having some trouble MPISHIM. Everytime I run a debug on my MPI app, I get the following:<div><br></div><div>MPISHIM: Unable to connect to devenv on machine '****'</div><div>MPISHIM: Unable to connect to devenv on machine '****'<br></div><div>MPISHIM: Unable to connect to devenv on machine '****'<br></div><div><br></div><div>(i ran mpiexec with -n 3)</div><div><br></div><div><br></div><div>I'm currently running Vista Home Premium. Msvsmon is running with the -noauth flag on. Any ideas? Having no luck researching it on the net. </div>Thu, 26 Feb 2009 01:14:13 Z2009-09-15T00:36:57Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/3f9364ae-aa51-40f7-aa8c-e69f17d214a2http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/3f9364ae-aa51-40f7-aa8c-e69f17d214a2Don Patteehttp://social.microsoft.com/Profile/en-US/?user=Don%20PatteeMicrosoft HPC Pack 2008 Service Pack 1 and SDK now availableThe Microsoft HPC team is pleased to announce that Service Pack 1 (SP1) is now available!<br/><br/>This release has improvement to the reliability of the cluster, increased performance of certain operations, increased security, and a more robust disaster recovery experience.<br/><br/>You can find the update at: <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=a78520f1-de82-4442-b273-2ff7327b9140">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=a78520f1-de82-4442-b273-2ff7327b9140</a>  (availability via Microsoft Update is a few weeks away) <br/><br/>It is suggested that this be installed on all machines in your cluster as well as workstations that you have installed the 'client utilities' on. <br/><br/>Along with the application update there is an updated version of the SDK available at: <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3fe15731-b1b6-42de-b278-5ccd46c0863b">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3fe15731-b1b6-42de-b278-5ccd46c0863b</a> The SDK is not a 'patch' it is a full install of the SDK, so you need to uninstall the previous HPC Pack 2008 SDK from your machine (via the 'Add/Remove Programs' or 'Uninstall a program' Control Panel, depending on your OS)<br/><br/>Both of these supercede the other post-RTM fixes that we have previously released for each product.Thu, 09 Jul 2009 22:22:20 Z2009-09-14T19:13:21Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6e7f6962-7de1-4bea-a19f-55578080b20ahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6e7f6962-7de1-4bea-a19f-55578080b20aTIJU THOMAShttp://social.microsoft.com/Profile/en-US/?user=TIJU%20THOMASExcel Splitter for HPCHi all,<br/> Can any one pls help me with the source code for excel splitter related to HPC.<br/> Thanks in advance.<br/> Tiju Kurian Thomas.Thu, 10 Sep 2009 07:15:10 Z2009-09-10T13:22:59Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6fb9f151-14bf-4b05-ab98-6f5ef3699311http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6fb9f151-14bf-4b05-ab98-6f5ef3699311xmhuang25http://social.microsoft.com/Profile/en-US/?user=xmhuang25 WCF/Window 2008 hpc cluster error: "Could not load file or assembly file or one of its dependencies"<p>Hi,<br/><br/>I am having a problem to run a WCF service in Window 2008 hpc server cluster. This service is written in c++ and is a 32bit application. I can successfully run this service in a selfhost method. Both release build and debug build have the same error below in window 2008 hpc cluster.  Any suggestions is highly appreciated.<br/><br/>Microsoft.Hpc.HpcServiceHosting Error: 0 : Service Host Job Id = 60, Task System Id = 197, Running on Cluster01<br/>[Main]: Failed to start the service WCFServer. <br/>    DateTime=2009-07-30T21:53:13.5442056Z<br/>Microsoft.Hpc.HpcServiceHosting Error: 0 : Service Host Job Id = 60, Task System Id = 197, Running on Cluster01<br/>System.BadImageFormatException: Could not load file or assembly 'file:///c:\Services\WCFServer.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.<br/>File name: 'file:///c:\Services\WCFServer.dll'<br/>   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)<br/>   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection)<br/>   at System.Reflection.Assembly.LoadFrom(String assemblyFile)<br/>   at Microsoft.Hpc.CcpServiceHosting.CcpServiceHostWrapper.Open()<br/>   at Microsoft.Hpc.CcpServiceHosting.CcpServiceHostWrapper.Open()<br/>   at Microsoft.Hpc.CcpServiceHosting.Program.Main(String[] args)</p> <p><br/>WRN: Assembly binding logging is turned OFF.<br/>To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.<br/>Note: There is some performance penalty associated with assembly bind failure logging.<br/>To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].<br/> DateTime=2009-07-30T21:53:13.5442056Z</p> <p> </p> <p> </p> <p> </p>Tue, 11 Aug 2009 01:58:52 Z2009-09-01T01:06:53Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/b6a85725-75f3-4968-8685-5ca3ff311cachttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/b6a85725-75f3-4968-8685-5ca3ff311cactosa.yasunarihttp://social.microsoft.com/Profile/en-US/?user=tosa.yasunariHPC2008 change from HPC2003 on headnode behaviorI'm sure that someone is developing HPC2008 out there.<br/> <br/> Our problem is caused by the drastic change done in HPC2008 from HPC2003 that the head node ID is no longer zero<br/> and furthermore if you use the failover headnodes, then the (virtual) headnode no longer participates in MPI (no rank<br/> is given to MPI).  Essentially the (virtual) headnode job is only the job manager.<br/> <br/> I can understand the reason for the change from the failover, but our code used to use the headnode is the gather destination<br/> for the results and the broadcast source for the data delivery for nodes under MPI under HPC2003.     <br/> <br/> Are there anyone out there explain how you are coping with this change?   The only way we can think of is to<br/> write another layer of communication (Remoting or WCF) between the ID=0 and the (virtual) headnode.<br/> <br/> We like to hear your approach.<br/> <br/> Thank you.Mon, 29 Jun 2009 21:31:44 Z2009-08-11T01:21:07Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/cb4c43e6-48ff-4487-9c60-aae18e34fa0bhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/cb4c43e6-48ff-4487-9c60-aae18e34fa0brfreirehttp://social.microsoft.com/Profile/en-US/?user=rfreireHPC SOA model: Using WebHttpBinding<p>Hi,<br/><br/>I've read that only BasicHttpBinding and NetTcpBinding WCF bindings are supported in HPC.<br/>The WebHttpBinding is essentially the BasicHttpBinding with MessageVersion.None setting.... so... why is the WebHttpBinding not supported?.<br/><br/>If I set the MessageVersion to None and I use BasicHttpBinding.... does it work in HPC?.<br/><br/>Thanks,<br/>Rodrigo.</p>Mon, 20 Jul 2009 20:49:04 Z2009-08-07T03:57:33Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/19f10c37-1557-4486-99b0-58bfa4822a40http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/19f10c37-1557-4486-99b0-58bfa4822a40robert.palmerhttp://social.microsoft.com/Profile/en-US/?user=robert.palmerMaking it super easy to launch the MPI Cluster DebuggerHi folks,<br/><br/>Microsoft has just released an add in for Visual Studio 2008 that makes it super easy to launch the MPI Cluster Debugger.  <br/><br/>Wenming has posted an easy to follow <a href="http://blogs.msdn.com/hpctrekker/archive/2009/07/18/5-minute-tutorial-on-the-amazingly-easy-to-use-mpi-cluster-debugger.aspx">how-to</a> with details of installing and using the tool.<br/><br/>The package can be downloaded directly from the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=d3993532-bdf8-4024-b164-db2ee8a851f5">Microsoft download center</a>. <br/><br/>We would love to hear your feedback on this new tool. Feel free to comment on the tool below. :)<br/><br/>Happy debugging!<br/><br/>Robert<br/><br/>Mon, 20 Jul 2009 19:28:18 Z2009-07-20T19:28:18Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ab03c21c-cc43-4ced-8504-ee4efbf439c8http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ab03c21c-cc43-4ced-8504-ee4efbf439c8Seifer Linhttp://social.microsoft.com/Profile/en-US/?user=Seifer%20LinError: C4772 and Error:C2664 with HPC API sample code ...Hi all:<br/><br/>I am studying the HPC API (c++), therefore I install HPC Pack 2008 SDK (x86).<br/><br/>I copy the sample code from <a href="http://msdn.microsoft.com/en-us/library/cc853436(VS.85).aspx"><span style="color:#0033cc">http://msdn.microsoft.com/en-us/library/cc853436(VS.85).aspx</span></a><br/><br/>I use VS2005 to compile the code, and got the following errors<br/><br/>1&gt;------ Rebuild All started: Project: GetNodeInCluster, Configuration: Release Win32 ------<br/>1&gt;Deleting intermediate and output files for project 'GetNodeInCluster', configuration 'Release|Win32'<br/>1&gt;Compiling...<br/>1&gt;main.cpp<br/>1&gt;.\main.cpp(11) : error C4772: #import referenced a type from a missing type library; '__missing_type__' used as a placeholder<br/>1&gt;.\main.cpp(189) : error C2664: 'ISchedulerNode::get_JobType' : cannot convert parameter 1 from 'JobType *__w64 ' to '__missing_type__ *'<br/>1&gt;        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br/>1&gt;.\main.cpp(283) : error C2664: 'ISchedulerNode::get_State' : cannot convert parameter 1 from 'NodeState *__w64 ' to '__missing_type__ *'<br/>1&gt;        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br/>1&gt;.\main.cpp(379) : error C2664: 'ISchedulerCore::get_TaskId' : cannot convert parameter 1 from 'ITaskId **__w64 ' to '__missing_type__ **'<br/>1&gt;        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br/>1&gt;Build log was saved at &quot;<a><span style="color:#0033cc">file://d:\HPC_practice\GetNodeInCluster\Release\BuildLog.htm</span></a>&quot;<br/>1&gt;GetNodeInCluster - 4 error(s), 0 warning(s)<br/>========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========<br/><br/>I have added the include dir: C:\Program Files\Microsoft HPC Pack 2008 SDK\Lib\i386 where the Microsoft.Hpc.Scheduler.tlb and Microsoft.Hpc.Scheduler.Properties.tlb are located.<br/><br/>My OS is Windows XP Professional 32bit<br/><br/><br/>thank you.<br/><br/>regards,<br/><br/>Seifer <br/>Fri, 15 May 2009 07:24:46 Z2009-07-18T04:26:18Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/e065d523-e8d6-465b-843f-e8c9afc7a3f4http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/e065d523-e8d6-465b-843f-e8c9afc7a3f4Jedrek2004http://social.microsoft.com/Profile/en-US/?user=Jedrek2004Is it possible to use long double numbers (80 bit floating point extended precision) in the Windows HPC Server?<p class=MsoNormal style="margin:0in 0in 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">Is it possible to use long double numbers (80 bit floating point extended precision) in the Windows HPC Server?<br/><br/>According to my knowledge the only tool which I can use is Intel C++ compiler with the following options /fp:source /Qlong-double /Qpc80.<br/>Is there any way to get extended precision in Visual C++?<br/><br/>Are there any other (different than Intel C++ compiler) tools/compilers/libraries which can give me extended precision on Windows HPC?<br/><br/>Regards,<br/><br/>Jedrek</span></p>Sun, 12 Jul 2009 01:49:53 Z2009-08-11T01:21:22Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/69ba9c1d-03a7-4fc0-9799-b09da2101b82http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/69ba9c1d-03a7-4fc0-9799-b09da2101b82Tom.Colehttp://social.microsoft.com/Profile/en-US/?user=Tom.ColeError from SOA Broker Service: Failed to start/stop the load balancer serviceI'm just getting started with HPC and ran into a problem.  I can't create a WCF session.  This line throws an error.<br/><br/>var session = Session.CreateSession(info)<br/><br/>Microsoft.Hpc.Scheduler.Session.SessionException was unhandled<br/>  Message=&quot;An exception occurred when submitting the job, see inner exception&quot;<br/>  Source=&quot;Microsoft.Hpc.Scheduler.Session&quot;<br/>  StackTrace:<br/>       at Microsoft.Hpc.Scheduler.Session.Session.EndCreateSession(IAsyncResult result)<br/>       at ClientProgram.Program.Main(String[] args) in D:\TestArea\HPC.WCF.RandomTextGeneration\ClientProgram\Program.cs:line 20<br/>       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)<br/>       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()<br/>       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)<br/>       at System.Threading.ThreadHelper.ThreadStart()<br/>  InnerException: Microsoft.Hpc.Scheduler.Properties.SchedulerException<br/>       Message=&quot;Unexpected exception -- Please see the broker execution log (under the user's profile directory).&quot;<br/>       Code=-2147215972<br/>       InnerException: <br/><br/><br/>So I looked into the event log on the Broker node and I see this:<br/><br/>Broker Job:90<br/>Failed to start/stop the load balancer service. Error:Job could not be modified because jobs in the Finishing state cannot be modified.<br/><br/>Anyone have a suggestion on where I should start at troubleshooting this?<br/><br/>Thanks all,<br/>TomSat, 11 Jul 2009 17:40:14 Z2009-07-11T20:02:05Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/29dd6a06-8666-487a-bce6-54338c07238ehttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/29dd6a06-8666-487a-bce6-54338c07238etosa.yasunarihttp://social.microsoft.com/Profile/en-US/?user=tosa.yasunarimpiexec -tracefile option does not work on cluster? I thought that it is a good idea to try &quot;mpiexec -tracefile mytrace.etl MPIApp.exe&quot;.    I get the error:<br/> Aborting: failed to start tracing on CNODE00<br/> Error(183) Cannot create a file when that file already exists.<br/> <br/> I have no problem running &quot;mpiexec MPIApp.exe&quot;.   <br/> <br/> Can you tell me how I can get the trace file?  <br/> <br/> Thank you.<br/>Tue, 30 Jun 2009 19:22:49 Z2009-08-11T01:21:34Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39ahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39awillvvhttp://social.microsoft.com/Profile/en-US/?user=willvvGet node availability using PowershellHi<br/> <br/> I need to obtain the node availability information for a cluster using powershell, is there a way to get that information?<br/> <br/> The information I need is the same that appears on the HPC Cluster Manager, under Charts and Reports - Reports - Node Availability.<br/> <br/> I thought maybe the Export-HPCMetrics command would work, but it doesn't have that information.<br/> <br/> ThanksMon, 22 Jun 2009 18:48:09 Z2009-07-05T17:36:07Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ab0e04a5-4080-4da4-9e25-b63ec4d83d68http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ab0e04a5-4080-4da4-9e25-b63ec4d83d68wking10http://social.microsoft.com/Profile/en-US/?user=wking10applications for windows compute cluster server 2003Hi,<br>I just read about the windows CCS 2003, and wondering how to take advantage of it for video editing applications. For an application to take benefit of the cluster, does the apps need to be written and designed specifically,  by using the cluster API, etc?<br>Or can I install any apps I need (Adobe's application, for an instance) on the head node, and the CCS itself will be able to distribute the workload and processes to its cluster nodes? Thus any aplications can take advantage of the high performance cluster?<br>Thanks.<br><br><br> Fri, 14 Nov 2008 00:46:02 Z2009-06-25T02:09:57Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6d31c539-fa87-4b05-872c-6f73cfd28a6ahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/6d31c539-fa87-4b05-872c-6f73cfd28a6aAeenhttp://social.microsoft.com/Profile/en-US/?user=AeenHPC workload?<p>what is the HPC work load main?</p> <p>tanks for every things </p>Mon, 26 Jan 2009 21:23:14 Z2009-06-25T02:05:58Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/4b2bdcae-d445-4975-ab5a-db07e9d51859http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/4b2bdcae-d445-4975-ab5a-db07e9d51859jingsongwhttp://social.microsoft.com/Profile/en-US/?user=jingsongwOverhead with using CCS scheduler using MPII'm setting up a compute cluster that uses MPI to generate calculations on the fly in short amounts of time &lt;3s. I was wondering what kind of overhead times I would possibly see if I submitted jobs using the CCP API, or should I just use the Cluster.ExecuteCommand method instead?<div><br></div><div>If neither of these is a possibility because the overhead of the CCP framework is too large, is there a way to bypass that and still harness the power of the MPI.NET?</div>Mon, 08 Dec 2008 23:37:51 Z2009-06-25T01:56:47Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/1dfbfea3-cc95-438e-9769-43c2102bc3e1http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/1dfbfea3-cc95-438e-9769-43c2102bc3e1cdinnchttp://social.microsoft.com/Profile/en-US/?user=cdinncDuplicate GUIDs in MS HPC TLBs <p class=MsoPlainText><font face=Tahoma>I was trying to create 'C' header files for the Microsoft.Hpc.Scheduler.tlb and Microsoft.Hpc.Scheduler.Properties.tlb.</font></p><p class=MsoPlainText><font face=Tahoma><br></font></p><p class=MsoPlainText><font face=Tahoma>The problem is that the Microsoft.Hpc.Scheduler.Properties.NodeState and the Microsoft.Hpc.Scheduler.SchedulerCoreState have the exact same GUID so the MIDL compiler spits the following message:</font></p> <p class=MsoPlainText><font face=Tahoma> </font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>.\Microsoft.Hpc.Scheduler.IDL(973) : error MIDL2270 : duplicate UUID. Same as : SchedulerCoreState [ Type 'NodeState' ( Parameter 'pRetVal' ) ]</font></p> <p class=MsoPlainText><font face=Tahoma> </font></p> <p class=MsoPlainText><font face=Tahoma>Here is what OLEVIEW displays for both:</font></p> <p class=MsoPlainText><font face=Tahoma> </font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>typedef [uuid(534F6FEC-A629-40C8-8AC0-4BEB0667B305), version(1.0),</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">  </span>custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, Microsoft.Hpc.Scheduler.SchedulerCoreState)</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>]</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>enum {</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>SchedulerCoreState_Offline = 0,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>SchedulerCoreState_Idle = 1,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>SchedulerCoreState_Busy = 2,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>SchedulerCoreState_Draining = 3,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>SchedulerCoreState_Reserved = 4</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>} SchedulerCoreState; </font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma> </font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma> </font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>typedef [uuid(534F6FEC-A629-40C8-8AC0-4BEB0667B305), version(1.0),</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">  </span>custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, Microsoft.Hpc.Scheduler.Properties.NodeState)</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>]</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>enum {</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>NodeState_Offline = 1,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>NodeState_Draining = 2,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>NodeState_Online = 4,</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma><span style="">    </span>NodeState_All = 7</font></p> <p class=MsoPlainText style="margin-left:0.5in"><font face=Tahoma>} NodeState;</font></p><p class=MsoPlainText style="margin-left:0.5in"><br></p><font face=Tahoma>Is this a known issue?<br></font> Wed, 17 Dec 2008 16:19:32 Z2009-06-25T01:55:03Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ff60d582-2196-4b6f-8229-1dfe0029cebchttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/ff60d582-2196-4b6f-8229-1dfe0029cebcescapegoathttp://social.microsoft.com/Profile/en-US/?user=escapegoatStackOverflow exception in wcf EchoClient example. <pre>In the wcf example I'm getting a stackoverflow from the<br>Microsoft.Hpc.Scheduler.Store.dll. I'm running the client program from<br>a XP machine in the same domain as the compute cluster. I can see the<br>job being created in the job manager.<br><br>I've tried to run the example for the head node as well. But I'm<br>getting a what looks like a security exception. Does anyone have any insights?<br>I included the output below.<br><br></pre><blockquote><pre><span class=moz-txt-citetags>&gt; </span>C:\TempShare\EchoClient\bin\Debug&gt;EchoClient.exe<br><span class=moz-txt-citetags>&gt; </span>Creating a session...<br><span class=moz-txt-citetags>&gt; </span>Microsoft.Hpc.Scheduler.Session.SessionException: An exception<br><span class=moz-txt-citetags>&gt; </span>occurred when submitting the job, see inner exception ---&gt;<br><span class=moz-txt-citetags>&gt; </span>Microsoft.Hpc.Scheduler.Properties.SchedulerException: Unexpected<br><span class=moz-txt-citetags>&gt; </span>exception --<br><span class=moz-txt-citetags>&gt; </span> Please see the broker execution log (under the user's profile directory).<br><span class=moz-txt-citetags>&gt; </span> --- End of inner exception stack trace ---<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>Microsoft.Hpc.Scheduler.Session.Session.EndCreateSession(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at EchoClient.Program.Main(String[] args) in C:\Program<br><span class=moz-txt-citetags>&gt; </span>Files\Microsoft HPC Pack 2008<br><span class=moz-txt-citetags>&gt; </span>SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 53<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt; </span>C:\TempShare\EchoClient\bin\Debug&gt;EchoClient.exe<br><span class=moz-txt-citetags>&gt; </span>Creating a session...<br><span class=moz-txt-citetags>&gt; </span>Microsoft.Hpc.Scheduler.Session.SessionException: An exception<br><span class=moz-txt-citetags>&gt; </span>occurred when submitting the job, see inner exception ---&gt;<br><span class=moz-txt-citetags>&gt; </span>Microsoft.Hpc.Scheduler.Properties.SchedulerException: Unexpected<br><span class=moz-txt-citetags>&gt; </span>exception --<br><span class=moz-txt-citetags>&gt; </span> Please see the broker execution log (under the user's profile directory).<br><span class=moz-txt-citetags>&gt; </span> --- End of inner exception stack trace ---<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>Microsoft.Hpc.Scheduler.Session.Session.EndCreateSession(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at EchoClient.Program.Main(String[] args) in C:\Program<br><span class=moz-txt-citetags>&gt; </span>Files\Microsoft HPC Pack 2008<br><span class=moz-txt-citetags>&gt; </span>SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 53<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt; </span>C:\TempShare\EchoClient\bin\Debug&gt;EchoClient.exe<br><span class=moz-txt-citetags>&gt; </span>Creating a session...<br><span class=moz-txt-citetags>&gt; </span>Session's Endpoint Reference:net.tcp://wrphpc001:9087/broker/73<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt; </span>Unhandled Exception:<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Diagnostics.CallbackException: An AsyncCallback<br><span class=moz-txt-citetags>&gt; </span>threw an exception. ---&gt;<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Security.SecurityAccessDeniedException: Access is<br><span class=moz-txt-citetags>&gt; </span>denied.<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt; </span>Server stack trace:<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message<br><span class=moz-txt-citetags>&gt; </span>reply, MessageFault fault, String action, MessageVersion version,<br><span class=moz-txt-citetags>&gt; </span>FaultConverter faultConverter)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime<br><span class=moz-txt-citetags>&gt; </span>operation, ProxyRpc&amp; rpc)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.Channels.ServiceChannel.EndCall(String<br><span class=moz-txt-citetags>&gt; </span>action, Object[] outs, IAsyncResult result)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage<br><span class=moz-txt-citetags>&gt; </span>methodCall, ProxyOperationRuntime operation)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage<br><span class=moz-txt-citetags>&gt; </span>message)<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt; </span>Exception rethrown at [0]:<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage<br><span class=moz-txt-citetags>&gt; </span>reqMsg, IMessage retMsg)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;<br><span class=moz-txt-citetags>&gt; </span>msgData, Int32 type)<br><span class=moz-txt-citetags>&gt; </span> at IEchoSvc.EndEcho(IAsyncResult result)<br><span class=moz-txt-citetags>&gt; </span> at EchoSvcClient.EndEcho(IAsyncResult result) in C:\Program<br><span class=moz-txt-citetags>&gt; </span>Files\Microsoft HPC Pack 2008<br><span class=moz-txt-citetags>&gt; </span>SDK\Samples\wcfbroker\HelloWorld\EchoClient\EchoSvcLib.cs:line 78<br><span class=moz-txt-citetags>&gt; </span> at EchoClient.Program.RequestState.GetResult(IAsyncResult result)<br><span class=moz-txt-citetags>&gt; </span>in C:\Program Files\Microsoft HPC Pack 2008<br><span class=moz-txt-citetags>&gt; </span>SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 105<br><span class=moz-txt-citetags>&gt; </span> at EchoClient.Program.EchoCallback(IAsyncResult result) in<br><span class=moz-txt-citetags>&gt; </span>C:\Program Files\Microsoft HPC Pack 2008<br><span class=moz-txt-citetags>&gt; </span>SDK\Samples\wcfbroker\HelloWorld\EchoClient\Program.cs:line 113<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.AsyncResult.Complete(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> --- End of inner exception stack trace ---<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.AsyncResult.Complete(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishSend(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result, Boolean completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.AsyncResult.Complete(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Dispatcher.DuplexChannelBinder.AsyncDuplexRequest.Done(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Dispatcher.DuplexChannelBinder.AsyncDuplexRequest.GotReply(Message<br><span class=moz-txt-citetags>&gt; </span>reply)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Dispatcher.DuplexChannelBinder.HandleRequestAsReply(Message<br><span class=moz-txt-citetags>&gt; </span>message)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Dispatcher.ChannelHandler.HandleRequestAsReply(RequestContext<br><span class=moz-txt-citetags>&gt; </span>request)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext<br><span class=moz-txt-citetags>&gt; </span>request, OperationContext currentOperationContext)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.AsyncResult.Complete(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.AsyncResult.Complete(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.SynchronizedMessageSource.SynchronizedAsyncResult`1.CompleteWithUnlock(Boolean<br><span class=moz-txt-citetags>&gt; </span>synchronous, Exception exception)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object<br><span class=moz-txt-citetags>&gt; </span>state)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object<br><span class=moz-txt-citetags>&gt; </span>state)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.StreamConnection.OnRead(IAsyncResult result)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Diagnostics.Utility.AsyncThunk.UnhandledExceptionFrame(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>result)<br><span class=moz-txt-citetags>&gt; </span> at System.Net.LazyAsyncResult.Complete(IntPtr userToken)<br><span class=moz-txt-citetags>&gt; </span> at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object<br><span class=moz-txt-citetags>&gt; </span>result, IntPtr userToken)<br><span class=moz-txt-citetags>&gt; </span> at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32<br><span class=moz-txt-citetags>&gt; </span>readBytes, Byte[] buffer, Int32 offset, Int32 count,<br><span class=moz-txt-citetags>&gt; </span>AsyncProtocolRequest asyncRequest)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest<br><span class=moz-txt-citetags>&gt; </span>asyncRequest)<br><span class=moz-txt-citetags>&gt; </span> at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32<br><span class=moz-txt-citetags>&gt; </span>bytes)<br><span class=moz-txt-citetags>&gt; </span> at System.Net.FixedSizeReader.ReadCallback(IAsyncResult<br><span class=moz-txt-citetags>&gt; </span>transportResult)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.AsyncResult.Complete(Boolean<br><span class=moz-txt-citetags>&gt; </span>completedSynchronously)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.ConnectionStream.ReadAsyncResult.OnAsyncReadComplete(Object<br><span class=moz-txt-citetags>&gt; </span>state)<br><span class=moz-txt-citetags>&gt; </span> at System.ServiceModel.Channels.SocketConnection.FinishRead()<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean<br><span class=moz-txt-citetags>&gt; </span>haveResult, Int32 error, Int32 bytesRead)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.ServiceModel.Diagnostics.Utility.IOCompletionThunk.UnhandledExceptionFrame(UInt32<br><span class=moz-txt-citetags>&gt; </span>error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)<br><span class=moz-txt-citetags>&gt; </span> at<br><span class=moz-txt-citetags>&gt; </span>System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32<br><span class=moz-txt-citetags>&gt; </span>errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt; </span>C:\TempShare\EchoClient\bin\Debug&gt;<br><span class=moz-txt-citetags>&gt;</span><br><span class=moz-txt-citetags>&gt;</span> </pre></blockquote> <pre><br></pre> Mon, 22 Dec 2008 11:13:09 Z2009-07-25T06:28:07Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/07b6e5ea-05ef-4c51-9a3a-35df647ba224lincolnmanhttp://social.microsoft.com/Profile/en-US/?user=lincolnmanError message back to cmd.exe We have written an application that loads Excel and runs a macro and it runs on an HPC grid.  If the process fails for any reason, we would like for the &quot;Failed Message&quot; to show up in the Compute Cluster Job Manager screen.  Any idea how to have our application get this message returned to the Job Manager?  I see there is a cmd.exe the starts up our process on the server, but attempts to return messages to stdin, stdout and stderr were unsuccessful.  Returning a &quot;-1&quot; return code does make the job show up as failed in the Job Manager, but no message.  Mon, 15 Dec 2008 14:41:01 Z2009-06-25T01:51:49Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/c5f29685-b6db-475b-b213-fc8d779d6852http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/c5f29685-b6db-475b-b213-fc8d779d6852Binbahttp://social.microsoft.com/Profile/en-US/?user=BinbaWin2008 HPC and XP?(!)I've been trying to follow up on some advice from IBM, that Windows HPC nodes are pratically a stripped-down version of XP, without the extra fat.<br>However, from everything I've learned about Win2008 HPC so far, I can't find a clear answer as to what a compute node is actually running. Specifically:<br>Can you run individual, independent processes on each node, or HPC is only about executing one hefty program from the head node, that utilizes the whole cluster as one big CPU pile? What do you see if you plug a monitor to an individual compute node?<br><br>I'm asking because IBM doesn't support Windows XP or Vista on their servers, but does support HPC nodes.<br><br>Thanks. Thu, 02 Oct 2008 21:51:46 Z2009-06-24T22:51:28Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/78e30850-c30a-4406-8d51-816d9ec6f850http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/78e30850-c30a-4406-8d51-816d9ec6f850Matt Batorhttp://social.microsoft.com/Profile/en-US/?user=Matt%20BatorHPC Limited workload licensingOn the HPC 2008 Eval site it has downloads for the HPC Pack as well as Windows Server 2008 HPC Edition which is said to be limited to an HPC workload. However, it appears as though I am able to add and run traditional roles (AD, IIS, HyperV, etc.) from this supposedly limited distribution...? Can anyone explain this behavior? My understanding is that an HPC compute node license is considerably less than a normal W2K8 license and as such you wouldn't expect them to have the same functionality, correct? Tue, 21 Oct 2008 15:27:46 Z2009-06-24T22:24:20Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/a6f10491-5496-4da8-923d-f2ac235ff66ehttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/a6f10491-5496-4da8-923d-f2ac235ff66ewillvvhttp://social.microsoft.com/Profile/en-US/?user=willvvGet-HpcJob returns null StartTime for Cancelled jobsHi<br/> <br/> I'm trying to retrieve the job information from a cluster and I'm seeing this behavior.<br/> <br/> If I get the information of the jobs using Get-HpcJobHistory, it returns a Collection with HpcJobHistory objects (one for each job in the given dates), the submit date for these objects is set, if the Job was cancelled it also returns a StartTime (so far I've seen that this date is the same as the EndTime).<br/> <br/> If I get the information for the same job using the Get-HpcJob, I get a HpcJob object, but if the job was cancelled, the value for StartTime is null.<br/> <br/> My questions are: <br/> <br/> Is this the expected behavior?<br/> Can I be sure that the value is always the same as the EndTime?<br/> <br/> Thanks a lotMon, 22 Jun 2009 17:47:13 Z2009-06-23T03:20:54Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/8f66a5c1-51ee-4b42-9b4e-718cd3bb75b3http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/8f66a5c1-51ee-4b42-9b4e-718cd3bb75b3Ofer Dekelhttp://social.microsoft.com/Profile/en-US/?user=Ofer%20DekelGetting realtime metric values with the .NET SDK<p><font><font>In powershell, I can do:<br><br>Add-PSSnapin microsoft.hpc<br>get-hpcmetricvalue -Scheduler &lt;myCluster'sName&gt;<br><br>And I get all of the realtime CPU/Network/Disk usage from each node in the cluster.<br><br>How can I get this info through the .NET SDK ? <br><br>Thanks.</font></font></p>Wed, 04 Mar 2009 17:59:09 Z2009-06-25T23:29:44Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/306c4ae6-1b97-490a-b8a6-908e4ae5d735http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/306c4ae6-1b97-490a-b8a6-908e4ae5d735nadebowhttp://social.microsoft.com/Profile/en-US/?user=nadebowProgrammatically apply a template to a node cluster<p>Hi there,<br/><br/>Got a question.  I noticed quite a few PowerShell samples to perform the configuration step of the HPC.  I am interested if it is possible to perform the configuration steps in the To-do List programmatically using the HPC .NET APIs.<br/><br/>## Set network topology to public network topology<br/>Set-HpcNetwork -Topology Public -Public intel*<br/>## Set install credential<br/>Set-HpcClusterProperty -InstallCredential username</p> <p>## Set naming series<br/>Set-HpcClusterProperty -NodeNamingSeries MyCluster%1000%<br/> <br/><br/>## Apply the node template to all unknown compute nodes.</p> <p>Get-hpcnode -State unknown -GroupName computenodes | Assign-HpcNodeTemplate -Name defaultnode* -Confirmfalse</p> <p>## Bring all the offline nodes to the online state.</p> <p>Get-HpcNode -State offline -GroupName computenodes | Set-HpcNodeState -State online<br/><br/>Any HPC .NET pointers will be much apprciated.<br/><br/>Thanks in advance,<br/>Natalia</p>Wed, 17 Jun 2009 22:22:00 Z2009-06-25T02:00:25Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/afa26762-7155-45e5-95b5-ba1e63a9a307http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/afa26762-7155-45e5-95b5-ba1e63a9a307McSIMMhttp://social.microsoft.com/Profile/en-US/?user=McSIMMFire and forget calls in HPC WCFHello,<br/> <br/> Is there any way to call HPC WCF service in a fire-and-forget way. Calling BeginInvoke doesn't work, because it requires to save a channel session to the end of the call. I have tried to set OneWay on the service operation, but it seems it doesn't work - after the call is made, nothing happens and service method doesn't get called. If OneWay is actually supported, maybe some additional configuration is required?<br/> <br/> Thanks,<br/> MaxMon, 25 May 2009 17:58:50 Z2009-06-25T23:29:30Z