Share via


Steps: Setting Progress Information from an Application

Updated: August 2010

Applies To: Windows HPC Server 2008 R2

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.

The sample application is called ProgressSample.exe. ProgressSample.exe includes a loop that performs some work (sleeps) and updates the progress properties of the job at each iteration. The application accepts two optional arguments that override the default values for the number of iterations to perform and for the number of milliseconds to sleep.

Checklist: Create a sample application that sets job progress information

Task Description

Step 1: Create a C# Sample Project that Sets Progress Information

Create and build a C# application in Visual Studio that sets job progress information.

Step 2: Submit a Job that Runs ProgressSample.exe

Submit a job that runs the application by using HPC Job Manager, HPC PowerShell, or a Command Prompt window.