If you’re not familiar with it, RSM is the ANSYS Remote Solve Manager. In short, it allows you to submit solutions from various ANSYS tools so they can be solved remotely, such as on a compute cluster, remote number cruncher, or perhaps just another computer that isn’t being used very much. Note that there is no additional licensing or installation is required (other than perhaps ANSYS HPC licensing to take advantage of multiple cores). RSM is installed automatically when ANSYS is installed; it just needs to be configured to be activated.
In version 14.5 and 15.0, there is a nicely documented Setup Wizard that helps with the setup and configuration of RSM on compute servers. This setup wizard as well as the rest of the RSM documentation in the ANSYS Help does a great job of explaining RSM and what must be done to setup and configure it. This Focus entry assumes that your crack IT staff has installed RSM on your compute machine(s) and has decided where the Compute Server will be (can be on your local machine or on your ‘number cruncher’ or on a different machine). So, our focus here is on what needs to be done as a user to send your solutions off to the remote solver using RSM.
As an example, we have RSM 15.0 configured with the Compute Server on a remote computer named cs3a. The first time running RSM, using Start > All Programs > ANSYS 15.0 > Remote Solve Manager > RSM 15.0, we get the window shown here:
Notice that it only shows our local machine (My Computer) and nothing about the actual remote computer on which we want to solve.
Therefore, we need to add the information on our cluster node which contains the compute server.
To do this, click on Tools > Options. This is the resulting window. Notice the Add button at lower left is grayed out:
What it’s waiting for us to do is type in the name of our desired remote computer, like this:
Now that a new name has been typed in the Name field, the Add button is active. After clicking Add, we get this:
After clicking OK, we will now see that the new remote computer has been added in the RSM window:
The next step is to set your login password for accessing this computer. Right click on the new hostname in the RSM window in the tree at left, and select Set Password.
Then enter your network login and password information in the resulting window:
If your accounts are fully setup, at this point you can run a test by right clicking on the localhost item in the tree under the remote computer name and selecting Test Server:
If the test is successful, you will see that the test job completed with a green checkmark on the folder icon in the upper right portion of the RSM window:
If your login is not configured properly, you will likely get an error like this one shown below. Notice that the upper right portion now states that the job has failed and there is a red X rather than a green checkmark on the folder icon. By clicking on the job in the upper right panel, we can see the job log in the lower right panel. In this case, it says that the login failed due to an incorrect password.
The fix for the password problem is to ensure that the correct login is being accessed by RSM on the remote computer. This is done from the RSM window by right clicking on the remote computer name and selecting Accounts.
If your account and/or password are different on the remote computer than they are on your local machine, you will need to establish an alternate account so that RSM knows to use the correct login on the remote computer. Right click on your account in the Accounts pane, and select Add Alternate Account:
Enter your username and password for the remote computer in the resulting window. Next, we need to associate that login with localhost on the remote computer. This is down by checking the localhost box in the Compute Servers pane, like this:
Another problem we have seen is that the user doesn’t have permission for ANSYS to write to the default solve directory on the remote computer. In that case, the test job log will have an error like this:
This fix in this case is to establish a solve directory manually, first by creating one on the remote computer, if needed, and second by specifying that RSM use that directory rather than the default. The second step is accomplished in the RSM window via right clicking on the localhost item for the remote computer, then selecting Properties. On the General tab, you should be able to change the Working Directory Location to User Specified, then enter the desired directory location as shown in the image below. If that option is greyed out, either your password for the remote machine has not been entered correctly, or you are not part of the admin group on the remote computer. In the case of the latter, either your RSM administrator has to do it for you, or you have to be granted the admin access.
At this point, if the test server runs have completed successfully you should be ready to try a real solution using RSM. We’ll use Mechanical to show how it’s done. In the Mechanical editor, click on Tools > Solve Process Settings. Here we will need to specify the remote computer and queue we’ll be using for the solution. Click on the Add Remote button:
In the resulting Rename Solve Process Settings button, type in a name for your remote solve option that makes sense to you. We called ours RemoteSolve1. This new option will now show up on the left side of the Solve Process Settings window:
The next step is to type in the name of the Solve Manager over on the right side. In our case, the Solve Manager is on computer cs3a. Any queues that are available to RSM for this Solve Manager will show in the Queue field, after a brief period of time to make the connection. In our case, the only queue is a local queue on cs3a.
We are now ready to solve our Mechanical model remotely, using RSM. Instead of clicking the Solve button in Mechanical, we will click on the drop down arrow to the right of the solve button. From the dropdown, we select the remote solve option we created, RemoteSolve1:
Assuming the solution completes with no errors, this job will show up in the RSM window with a status of Finished when it is done.
The final step in this case is to download the results from the remote computer back to the client machine. In the Mechanical editor, this is done by right clicking on the Solution branch and selecting Get Results as shown below. Also note that you can monitor a nonlinear solution via Solution Information. You’ll just need to right click during solution to have a snapshot of the nonlinear diagnostics brought back from the remote computer.
We hope this helps with the setup and utilization of RSM from a user perspective. There are other options and applications for RSM that we didn’t discuss, but hopefully this is useful for those needing to get ‘over the hump’ in using RSM.
You must be logged in to post a comment.