Submitting and Monitoring Jobs for Windows HPC

In order to submit jobs using Windows HPC:

Simulation tab ribbom. Schedular icon shown.

This opens the Select Scheduler dialog box. Specify Windows HPC as the scheduler.

Select Schedular Dialog box.

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

After specifying the cluster head node, 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 box will close. If there is a problem contacting the head node, the dialog box will not close and the changes will not be accepted.

After setting the job submission node, perform one of the following:

This opens the Submit Job To dialog box.

The Submit Job To dialog box contains three tabs:

On the Analysis Specification tab, enter path names for the Product and Project. 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.

Submit Job to: Windows HPC window. Product path specified.

You can select which setups are analyzed in the Analysis Setups area of the dialog box. 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.

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.

Add Batchoption dialog

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

Analysis options group box. Batchoptions listed.

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

Analysis Options groupbox.

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

Additional Options dialog box.

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

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 enable the Remove and Edit... buttons. You can also click Add Debug Environment Variables.

Additional Job Options dialog box.

Note:

For certain methods of resource selection for Windows HPC job submission, Ansys Electronics Desktop checks for nodes being online. In an auto-scaling cluster, nodes can fail the online check because they're not online until a job is running. An environment variable allows customers to bypass this check:

ANSYSEM_SKIP_NODE_ONLINE_CHECK

Set the variable value to 1 to disable the online check. Debug logging fully verifies what aspects of the cluster are causing this check to fail.

Job submission in Windows works without changing settings if environment variable ANSYSEM_SUBMIT_JOB_REQ_NODE_ONLINE is set with value 0. The installation doesn’t set this environment variable. ANSYSEM_SUBMIT_JOB_REQ_NODE_ONLINE accepted values: 0 or 1 (0 = disable; 1 = enable, i.e. require nodes to be online for submission). Default: 1 (if not set, Ansys Electronics Desktop requires nodes to be online for submission).

If you have enabled Show Advanced Options, any variables that you add will be displayed in the Environment field of the Submit Job dialog box.

Use Batch Extract for Windows HPC

Enabling Show Advanced Options for Windows HPC also displays the Use batch extract check box and script path field.

Analysis Options group box. Use batch extract option available.

See Running Ansys Electronics Desktop from a Command line for an explanation 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 dialog box.

Submit Job To dialog box, Compute Resources tab.

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

Submit Job To dialog box, Compute Resources tab, use automatic settings enabled.

HFSS and HFSS 3D Layout have Use automatic settings selected by default. With Use automatic settings selected, the Job distribution field is removed. When using 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 entire pool."

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

Resources Selection group box, Method: Specify drop down menu open.

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:

Resources Selection group box, Method: Specify drop down menu open.

For Windows, there is a 64 core limit for a single machine. 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.

Individual Nodes selected.

Compute Resource Selection Dialog

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

Compute Resources Selection Parameters window.

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 7 distributed engines, with two processors per engine, and also limit the number of engines per node to 4, 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.

Sumbit Job To: window

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 dialog box, AnalysisSpecification tab, you can invoke the Monitor Job window by clicking Tools > Job Management > Monitor Jobs... This dialog box 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 dialog box. For more details, see: Monitor Jobs Window.