Installation of Ansys Electromagnetics Tools on GE

Windows:

Install on every node of cluster

Setup ‘temp directory’ to a path that is same on all nodes. For example, c:\temp

Linux:

Install on a single node, on a shared drive.

Setup ‘temp directory’ to a path that is same on all nodes. For example, /tmp

Ensure that the product is available using the same path on all nodes

Permissions:

All users of the cluster should have read/write permissions to temp directory

All users should have read/execute permissions to installation directory

When a desktop scheduler GUI is run the same node as the job submission node, no other configuration is necessary: installation is sufficient. You select the scheduler through the desktop GUI. You need to ensure that scheduler commands are available in the path before you launch desktop.

Note: There is no need to install RSM unless the you are using the scheduler GUI on a postprocessing node that is different from the job submission node. In this case, RSM must be configured with the scheduler type and path.

A postprocessing node is a node in the cluster that can run the Ansys Electromagnetics desktop in graphical mode. A job submission node is a node in the cluster in which job submission commands are available.

Turn OFF firewall between cluster nodes.

Scenario 1: The postprocessing node and job-submission node roles are served by distinct machines.

In this case, perform the following configuration:

The job-submission node should be configured to run the RSM service, which serves as a proxy to scheduler. The RSM Service should be running as 'root' in order to facilitate jobs running using the credentials of the job's owner. A configuration file in the RSM installation folder should be edited to specify information regarding the scheduler that manages jobs on this cluster. A block labeled 'Scheduler' must be included within the 'AnsoftCOMDaemon' block. This block contains two string entries:

The case of the SchedulerName string is significant on Linux because Linux file names are case sensitive. The case of the SchedulerName string is not significant on Microsoft Windows. In Ansys Electromagnetics Suite, the possible scheduler names are: lsf and sge. The ConfigString entry is a scheduler specific configuration string, described below.

In addition, the AnsoftRSMService must be started with appropriate environment variables set. Generally, the environment variables must be set the same as they would be set for using the scheduler via command lines.

SGE Details

For SGE, the ConfigString entry must contain the search path for the SGE commands. It may contain a single directory, the directory containing the SGE commands. Alternatively, it may be a path, with directories separated by the colon character ":", where the SGE command directory appears before any other directory containing files with the same name as any SGE commands.

Example ansoftrsmservice.cfg configuration file:

$begin 'AnsoftCOMDaemon'

$begin 'Managed COM Servers'

$end 'Managed COM Servers'

$begin 'Scheduler'

'SchedulerName'='sge'

'ConfigString'='/opt/sge6.2u4/bin/lx24-amd64'

$end 'Scheduler'

$end 'AnsoftCOMDaemon'

Scenario 2: The postprocessing node and job-submission node roles are served by the same machine.

The environment should be configured so that all SGE commands are found using the standard search path. In particular, search for the following commands in the search path should result in the SGE command being found: "qsub", "qdel", "qstat", and "qconf". No other command with the same name should appear before the SGE command in the search path.

Related Topics 

Integration with Grid Engine (GE)

Command Line Enhancements for Ansys Electromagnetics Desktop Products