Submitting and Monitoring Jobs for Windows HPC

In order to submit jobs using Windows HPC, you must click Tools > Job Management > Select Scheduler or you select the Simulation tab of the ribbon, and click the Scheduler icon.

This opens the Select Scheduler window. Specify Windows HPC as the scheduler.

For Windows HPC, specify the head node of the cluster.

After specifying the cluster head node, you can click Refresh. This verifies that the head node may be contacted, and displays the scheduler name, a brief description (including the head node name), and the version of the Windows HPC head node.

Pressing Cancel discards changes made in this dialog box. Pressing OK verifies that the head node can be contacted before accepting the changes. If no problem occurs, the dialog will be closed. If there is a problem contacting the head node, the dialog will not be closed and the changes are not accepted.

After setting the job submission node, select Tools > Job Management > Submit Job... or Project > Submit Job... or [ProductName] > Submit Job... to open the Submit Job To: dialog box. You can also select the Simulation tab of the ribbon and click the Submit icon. You can also access Submit Job from the shortcut menus for the Project Name, Design name, Analysis Setup, or Optimetrics Setup.

The Submit Job To: window contains three tabs:

In the Analysis Specification tab, enter the pathnames of the product path and of the project file in the “Project” edit box. These must be UNC paths that are accessible from each compute host used for Ansys Electromagnetics jobs. The Project can be an archive. The submission user must have permission to write to the directory containing the project file.

You can select which setups are analyzed in the Analyze Setups section of this window. There are radio buttons to select

If you specify multiple setups, they will be processed sequentially in the order displayed in the edit box.

The Analysis options include

The Add... button opens the Add Batchoption dialog box.

This dialog box provides access to all -batchoption commands. The drop-down menu lets you select specific categories, and you can choose to display only frequently used commands. You can edit and remove any batch options you specify.

Select a Registry Key in order to show the current Value for the type. The lower field explains the meaning of the Type Value.

Any batchoptions for which you select Add will be visible in the Submit Job window.

If you have the Show advanced options box checked in the Submit Job window, the Environment field and the Use batch extract fields display.

The Environment field lets you specify any Environment variables. Click the ellipsis button [...] to display the Additional Job Options dialog box.

Click the Add... button to open the New Environment Variable dialog box.

Here you can provide a Variable name and Variable value. Click OK to display the Variable in the Additional Job Options dialog box. Select a Variable to enables the Remove and Edit... buttons. You can also click Add Debug Environment Variables.

Any variables that you add will be displayed in the Environment field of the Submit Job window if you have also enabled Show Advanced options.

Use Batch Extract for Windows HPC

Selecting Show advanced options for Windows HPC also shows the Use batch extract field.

See the discussion on Running Maxwell from a Command line for a discussion of the solve information available through batch extract.

The Preview Submission button opens a window that shows the text commands that will be sent to the scheduler.

The following figure shows the Compute Resources tab of the Submit Job To window.

For Ansys Electronics Desktop configurations, the Submit Job window includes a Use automatic settings check box that simplifies the Compute Resources tab.

HFSS, HFSS-3D Layout, and Icepak have Use automatic settings selected by default. With Use automatic settings selected, the Job distribution field is removed. For Use automatic settings, you can specify Resource selection parameters. The ellipsis button [...] opens the Compute Resource Selection Parameters dialog box. If you do not specify any parameters, the default is Using machines from the entire pool.

The Method field of the Submit Job To window has a drop-down menu with two or three selections, depending on whether you select Use automatic settings.

Note: If you select Use automatic settings, Optimetrics variations will be solved sequentially. Other distribution types will be distributed automatically. It does distribute frequencies, domains, and use of multiple level domains.

If you uncheck or cannot access Use automatic settings, these two Methods are listed:

Each Method selection changes the available options listed:

Individual Node List

For Windows HPC jobs, you may either specify a node list, or specify job parallelization parameters, but not both.

If you select the Individual Nodes method, you may specify a node list, and the Job parallelization controls are disabled. In this case, the node list should only include cluster nodes that are valid for the job. For each node, you enter the node name and add the node. In the table, you can specify the number of cores and the RAM limit as a percentage. You can use the Remove, Move Up and Move Down buttons to edit and order the list.

Compute Resource Selection Dialog Box

By default, you can draw from the entire pool. You can also click the ellipsis button [...] to open a Compute Resource Selection dialog box.

The resource selection parameters for Windows HPC jobs are

Job Parallelization

For Windows HPC jobs, you may either specify a node list, or specify the job parallelization parameters, but not both. The Job parallelization fields let you specify

Job Distribution

In response to a set of minimal constraints, the Scheduler may increase the resources assigned beyond the minimal values in order to meet the full set of requirements. For example, if you specify seven distributed engines, with two processors per engine, and also limit the number of engines per node to four, the scheduler may increase the number of cores used in order to meet the limit specified for engines per node. Notice that a preview of the Submit Job Results shows the number of resources assigned, and that the scheduler generated code includes an MPI specification.

Scheduler Options

The Scheduler Options tab provides for specifying the job name and/or the job priority. While the Show advanced options check box enables the display of Job submission options, no job submission options should be specified for Windows HPC.

Preview Submission

The Preview Submission button opens a window that shows a text description of the job to be submitted and the task used to start the product on one of the nodes.

The JOB PARAMETERS section contains information on parameter that apply to the job as a whole.

The TASK PARAMETERS section contains information on parameters that apply to the Desktop task, which is the main task of the job.

Monitor Job

If you have checked the Monitor Job option on the Submit Job To window's AnalysisSpecification tab, you can invoke the Monitor Job window by clicking Tools > Job Management > Monitor Jobs... This window may also be brought up by checking the Begin monitoring this job now check box when a job is successfully submitting using the job submission window. For more details, see Monitor Jobs window.

Related Topics 

Submitting and Monitoring Ansys Electromagnetics HPC Jobs

Specifying the Number of Compute Resource Units for HPC Jobs