ANSYS Workbench Job Submission using End-to-End Desktops
End-to-end Desktops create a seamless HPC experience on Rescale. End-to-End Desktops is a batch compute cluster with desktop visualization capability on the head node of your cluster. It provides a user interface for users to interact with the job setup directly from the analysis software.
Features of End-to-End Desktops
- Enables you to work with your batch job submission interactively. You can monitor jobs on the fly
- Enables you to distribute your batch job submission across the entire cluster using an automated process
- You can pause the analysis at anytime, edit the inputs or parameters of the job and either restart or rerun the analysis
- Job results can be viewed during and right after completion of the simulation without any delays
- Files are automatically synced from the batch job to the Desktop session and vice-versa
- There is no additional charges for the visualization
- The Desktop session is CentOS Linux
- The files are synced to the work directory of the desktop session
- Users need to explicitly terminate the job to shut down the cluster
ANSYS Mechanical Design Point Analysis Tutorial
This tutorial shows how to submit an ANSYS Workbench job using End-to-End Desktops as well as showing you how to set up an ANSYS Workbench project with a parameter sweep on a 2 node cluster.
Users that submit jobs to the workstation, are limited to the resources on the workstation. ANSYS provides an option to scale up and submit jobs to a larger, remote cluster. However, the workflow is complicated. End-to-End Desktops automates this process and hence provides the option to submit jobs to a large cluster with ease. ANSYS Optimization and Parameter sweeps are complicated and End-to-End Desktops provide a seamless methodology to run such jobs on the Rescale platform.
The steps are as follows:
Job Setup on Rescale Platform
- Click on the + New Job icon on the top left hand corner of the dashboard
- Name the job
- Click on Upload from this computer and browse to the location where the workbench archive is saved. Select the file and click Open
- Jump to the Software Settings page, and select Launch an End-to-end desktop (interactive mode)
- Select ANSYS Interactive Workflow
- Click on Next
Select the software version as 19.2
Select the desired licensing option
If you are using a Rescale License, you may select the Use On-Demand License by checking the box as shown below. Also, check the box to agree to the Software Licensing Agreement.
Alternatively, users using their own licenses may select the Use Existing License and specify the relevant licensing information.
Click on Next
On the Hardware Settings page, select the hardware configuration that you would like to run your simulation on. In this example, we select the Nickel hardware as shown below
Set the Number of Nodes to 2
Also, set a suitable wall time so that the cluster will be terminated after the simulation
Now, you can click on Submit on the top right of the screen
Launch End-to-End Desktop
Once the job is launched, you will notice that it looks very similar to a batch job, but differs in that there is an additional button to Connect Interactive Session on the top right of the screen
Go to the Status Tab to view the progress of the job submission
Click on Connect Interactive Session on the top right of the screen. This will open an in-browser desktop session for End-to-End Desktops that is running Linux. Alternatively, you can connect to your desktop using your choice of VNC client. Instructions on how to do this can be found here.
- Once the Desktop is launched, you will see the icon for ANSYS Workbench. Click on the icon to launch
- Once ANSYS Workbench is launched, click on File and then click on Open. Browse to the shared folder as shown below and select the input file. Click on Open. You will be prompted to save the file. Click on Save in the same folder
- The Project Schematic will be displayed. Right click on Parameters and click on Properties On this workbench project, the force is varied and the output is Equivalent stress. These are 8 design points. The next few steps will show how to submit this analysis and distribute it across the cluster.
On the Parameter Set tab you will see the Solution Process Settings. Use the following settings. For Update Option select Submit to Remote Solver Manager. Set RSM Queue to Local. This will allow the job to distribute by default
Under Design Point Update Process, use the following settings. Set Job Submission to One job for Each Design Point. Set Component Execution Mode to Parallel. Set Number of Processes to 4. Each of the 8 design point will utilize 4 cores and hence 32 cores in total
Under License Checkout, set option to On-Demand. Each job will checkout a license with this option. The other option is to use Reserved License which allows you to use parametric packs, which might be a more viable option for parametric runs
Note that the setup is very similar to the process to submit an on-premise cluster.
- Now right click on Parameter Set and click on Update Design Points.
On the bottom right on the screen click on Job Monitor. The Running and Queued jobs are shown here.
Once the job is finished running, the results will be uploaded.
- To check the results, double click on Parameter Set. The results will be displayed under List of Design Points as shown below
- Save the ANSYS Workbench project. The files are automatically saved to the work folder
- Terminate the job to end the Desktop session. Any files saved to the work folder will be uploaded to the job files under Results on the platform