none
Get Job State in HPC RRS feed

  • Question

  • What C# code do I need to use to get the job state out of HPC?  It looks like the ISchedulerjob.State property would work, but I'm not sure how to implement this in C#.  I should mention that I have a job running already in HPC.  I plan to run this code in parallel with the job that is currently running in HPC (i.e., MyCodeFile.exe & MyHPCJob will be on the task line).  

    I am going to launch them both at the same time and then have the MyCodeFile.exe update me on the progress.  I just need to be able to monitor the other application that is going to be running, and I will need to know when it is finished.  As I mentioned above, I did check this out http://msdn.microsoft.com/en-us/library/microsoft.hpc.scheduler.ischedulerjob.state(v=vs.85).aspx but I'm not sure how to code this into MyCodeFile.exe.

    Thank you for your assistance.


    Tuesday, May 8, 2012 3:00 PM

All replies