Specifying the Remote Spawn Command (Linux)
An important step in using a high performance cluster
is setting up authentication across machines so that the machines
can be accessed without a password. By default,
SSH
You will need to set up passwordless access to use
- Verifying that you have working SSH servers and clients on your machines.
- Verifying that the server will accept passwordless logins. You may need to edit the /etc/ssh/ssh_d file to allow RSAAuthentication and PubkeyAuthentication.
- Generating keys on the client system using the ssh-keygen program. Do not use a passphrase so that you can access the machine without a password.
- Copying the public key generated in step 1 from the ~/.ssh directory to the server. The easiest way to transfer the keys is to use the ssh-copy-id program. Alternately, you can use any file transfer utility. If the server already has a list of existing keys for other clients add the new public key to the list.
- Testing the connection. Log in to the client machine using the username that you
used to create the identity keys. Open a new shell terminal and attempt to open an SSH login
session. For example, type
ssh 192.168.0.4
(where the IP address is the address of the machine you are attempting to connect to). The server should allow you to log in without requesting a password.
Consult the documentation for your machines and network for detailed instructions.
RSH
If you choose to use RSH, you will need to make sure RSH is installed on all the machines and set up the machines so that you are not prompted for a password. There are different ways to set up passwordless RSH, so be sure to consult the documentation for your machines and network for detailed instructions.
Machine access using RSH without a password is often set up by editing the /etc/hosts.equiv file and adding entries for the hosts you would like to use without a password. This file lists hosts and users that are granted "trusted" access to the system.
If you look at the /etc/hosts.equiv file you should have something similar to the following:
Contents of the /etc/hosts.equiv file:
job1.n1.com
job2.n1.com
job3.n1.com
The machines job1, job2 and job3 can connect without a password. You may also need to verify that the files /etc/hosts.allow and /etc/hosts.deny are empty. Consult your local documentation for detailed instructions and troubleshooting suggestions.
Scheduler
The Remote Spawn Command setting is only meaningful when running on the Linux Operating System. The value 'Scheduler' is valid if the job is a scheduler job running under an LSF, SGE or SLURM scheduler, and only if the MPI Vendor is "Intel".
When submitting a job using the AnsysEM job submission GUI, the Remote Spawn Command for an analysis may be specified using the batchoption with pathname 'DesignType/RemoteSpawnCommand', where DesignType is the Design Type to analyze. The Remote Spawn Command setting is only meaningful when running on the Linux Operating System. The value 'Scheduler' is valid if the job is a scheduler job running under an LSF, SGE or SLURM scheduler, and only if the MPI Vendor is "Intel". To specify the value 'Scheduler' for this option for a scheduler job, the Remote Spawn Command must be specified using the 'DesignType/RemoteSpawnCommand' batchoption in the product command line when the product is launched. In addition, the 'DesignType/MPIVendor' batchoption must be specified with value "Intel" in the product command line when the product is launched. For interactive scheduler jobs, the Remote Spawn Command and the MPI Vendor may be specified with batchoptions or as design type options in the HPC and Analysis Options dialog box.
Setting MPI Version
When submitting a job using the Ansys Electromagnetics job submission GUI, the MPI Version may be specified using the batchoption with pathname DesignType/MPIVersion, where DesignType is the type of design to analyze (e.g. HFSS). It allows selection of which Intel MPI version to use, for both Windows and Linux. Valid values are "Default", "2018", and "2021".
For interactive solves, the MPI version may be specified with the batchoption in the command line used to launch the product, or as a design type option in the HPC and Analysis Options dialog box.