Share via


Quick Submit a Job

Applies To: Windows Compute Cluster Server 2003

Many jobs can be created and submitted very quickly using the command-line interface or Job Manager.

To quick submit a job in Job Manager

  1. Click File, then click Submit Job….

  2. On the Submit Job dialog, click the Processors tab, then select the minimum number of required processors.

    Note

    For MPI tasks, you must always specify a number of processors greater than one. Otherwise the default minimum of one will apply and the task will run in serial mode.

  3. On the Tasks tab, enter your task command line. For example: mpiexec do_calc.exe

  4. Click Add.

  5. Verify the task you are adding is highlighted then click Edit.

  6. On the Task Properties sheet enter your input file in the Standard Input field and your output file in the Standard Output field.

  7. Click OK to close the Task Properties sheet.

  8. On the Submit Job dialog, click Submit.

The equivalent submission can be performed at the command prompt using the following syntax:

job submit /numprocessors:<min_processors> /stdin:<input_file> /stdout:<output_file> <command_line>

For example:

job submit /numprocessors:4 /stdin:infile /stdout:outfile mpiexec myapp.exe

This submits the MPI executable myapp.exe taking input from the file infile and writing output to the file outfile.

See Also

Concepts

Create a Job
Create a Task
Submit a Job