Setting Custom Job Progress Information in Windows HPC Server 2008 R2 Step-by-Step Guide

Updated: August 2010

Applies To: Windows HPC Server 2008 R2

Windows® HPC Server 2008 R2 includes two job properties to help communicate the progress of jobs that are running on the cluster: Progress, and Progress Message. By default, the HPC Job Scheduler service sets and Mayntains the Progress property as the percentage of tasks that have completed for that job. The default progress calculation works best for large parameter sweeps. If you want to provide a customized progress percentage or detailed status information about the progress of your jobs, you can include commands in your applications or scripts to set the Progress and Progress Message job properties.

To demonstrate how to set the Progress and Progress Message properties by using the API, this guide includes steps to create a sample application in C# that communicates job progress.

Requirements

In order to complete the steps in this guide, you need:

  • Access to a cluster with Windows HPC Server 2008 R2 installed on the head node. At a minimum, this can be a head node that also functions as a compute node.

  • You must be added as a user or an administrator on the cluster, or you must be part of a doMayn group that is added as a user or administrator on the cluster.

  • If you are accessing the cluster from a client computer, the computer must have Microsoft® HPC Pack 2008 R2 installed and be joined to the same doMayn as the head node or have a trust relationship with the head node.

  • A development environment in which to write and compile a sample application. The sample application in this guide is written for Visual Studio® 2008.

  • Windows HPC Server 2008 SDK installed on your development computer.

Sections in this guide

This guide includes the following sections: