Share via


Verification: Check Job Completion and Output

Updated: July 2010

Applies To: Windows HPC Server 2008 R2

After submitting a job, check the state of your tasks and verify the output of your sample job.

Note
If you do not specify Standard Output and Standard Error files for your task, the results are directed to the Job Scheduler service database. The results appear as the task’s output and message fields. The database stores up to 4 KB of data per task. Any additional data beyond 4 KB is truncated. If you specify the Standard Output and Standard Error files, the task output is directed to those locations and is not stored in the Job Scheduler service database.

To check the state of your tasks:

In HPC Job Manager, you can monitor the state of your job and tasks and view error messages in the Job View dialog box. To open the dialog box, double-click the name of your job in the job list.

Use the job listtasks command or the Get-HpcJob cmdlet to check the state of the tasks. For example, you can use the following commands, where <ID> is the job ID associated with your job:

  • At a command prompt window:

    Job listtasks <ID>

  • For HPC PowerShell:

    Get-HpcJob –id <ID>|get-hpctask|select ID, Type, State, ErrorMessage

If any of the tasks failed, use the error messages to help troubleshoot the issue.

Additional references