This post is how to run ANSYS Electromagnetic solvers (HFSS/Maxwell) on TotalCAE Private and Public cloud. See our additional posts on CFX, Mechanical, and Fluent/Icepak.
The primary workflow for ANSYS Electromagnetics is below :
1. Upload your model, through the TotalCAE Portal (or tsubmit command line) in batch mode. Just a few clicks to get your model submitted. This works identically for all TotalCAE supported systems including on-premise (private cloud) and public cloud. (Alternatively, you can use ANSYS Electromagnetics RSM)
2. Post Process on the Visualization Server using standard ANSYS Electromagnetics Desktop.
Using ANSYS Electromagnetics in Batch Mode with TotalCAE Portal
To use ANSYS Electromagnetics in batch mode, login to the TotalCAE portal (from your Windows PC with Chrome, or from the Visualization Server and launch Firefox) and select ANSYSEM. Choose the version of ANSYS Electromagnetics to run ( in this example version 19.0), then click Browse to upload a model from your machine to the HPC system.
Your data will reside in /work/<username>/ on the cluster. You can do file upload/download through the portal, or by logging into the cluster with SSH to the head node of the system.
Push the “Submit” button, and your job will be put into the batch system. The system will power on nodes to run your job. A job ID will be returned to track your job
You can go to the “List Jobs” menu in the portal, and expand the job id to get details on the current job state ( Running, Pending, or Completed) as well as the list of nodes the job ran on, and any comments about the job.
Once the job is completed you will receive an email, then click on the blue link in the “Working Directory” like below to download your job results.
You can either download the results back to your workstation, or you can just visualize the results on the cloud via TotalCAE visualization server web page, and bring up ANSYS Electromagnetics Desktop in the resulting window).
The high level steps to do post processing on the TotalCAE Viz Server:
- Login to the TotalCAE Visualization Server with Chrome from your Windows or Mac, and click on the “ANSYS Electromagnetics” icon on your Desktop
- Click on “ANSYS Electromagnetics” icon , Select File->Load and load your model/results. Note your results are in /work/<username>/
Submitting ANSYS Electromagnetics with ANSYS RSM
Some customers prefer to use submit jobs through ANSYS Remote Solve Manager (RSM) instead of the TotalCAE Portal.
ANSYS RSM is configured as part of the HPC private or public cloud, and your user account already has been configured to use RSM through the TotalCAE Viz Server.
The first step is to login to the TotalCAE Viz Server, and click on the “ANSYS Electromagnetics ” icon on your desktop.
That will bring up the ANSYS Electronic Desktop GUI.
Go to HFSS > Submit Job and click on Compute Resources Tab. This is where you will define the nodes you would like to run on. To select nodes, you must open a terminal prompt by clicking the icon in the top left next to Firefox, and type
salloc -N <number of nodes>
for example for two nodes
salloc -N 2
The HPC system will then assign you two nodes from the pool, give you a jobid, and power the two nodes on. After the nodes are up, you can configure RSM on the assigned nodes by typing “bootstrap <jobid”>. For example
A complete example is below, I get two nodes exclusively and am assigned a job ID of 321 from the scheduling system. I then use this job ID to bootstrap the RSM software on the nodes.
Now you are ready to configure ANSYS Electronics Desktop to use your assigned nodes. Launch Electronics Desktop, load your model and go to HFSS Menu and choose Submit Job.
Click on the Compute Resource tab to configure the hosts assigned to you in the previous step like below. In this example, I was assigned nodes name n000136 and n000138 from the scheduler, so I have configured RSM to use those two nodes.
Then back on the Analysis Specification tab, you will need to adjust your batch options to include ANSYS licensing type (for example Pack or Pool), as well as the MPI Vendor (choose Intel if on Azure).
Finally, you can submit the job, and monitor it. See below
Once you are done with the nodes, type
To return the nodes back to the scheduler so they can be turned off.