ANSYS EDT (formerly HFSS)

Revision as of 20:54, 29 June 2016 by Botto (talk | contribs) (Created page with "== Description == ''From the ANSYS EDT Website:'' '''ANSYS Electronics Desktop''' is the premier, unified platform for electromagnetic, circuit and system simulation. Gold-st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

From the ANSYS EDT Website: ANSYS Electronics Desktop is the premier, unified platform for electromagnetic, circuit and system simulation. Gold-standard tools like ANSYS HFSS, Maxwell, Q3D Extractor, and Simplorer are built natively in the Electronics Desktop, which serves as a universal Pre/Post processor for these tools.

Version

  • 17.1

Authorized Users

  • Students authorized by the WAMI research group
  • WAMI Faculty

Platforms

  • CIRCE cluster
  • RRA cluster
  • SC cluster
  • CWA Web Apps
  • Desktop PC

Running Jobs via Web Apps

The fastest and easiest way to run Ansys EDT jobs on the Cluster, is to run them via Web Apps.

If you’re feeling adventurous or you need more control over your workflow, keep reading below.

Using Ansys EDT on CIRCE

1. Ensure that your project file resides on your UStoreFiles drive, preferably under the Ansoft folder. The example below assumes that my project file exists under:

  • /work/u/user/Ansoft/ExampleModel* on Circe
  • W:\Ansoft\ExampleModel* for UStoreFiles mounted on Windows
  • \\ustorefiles.usf.edu\work\Ansoft\ExampleModel* for UStoreFiles

These paths are all equivalent and point to the same storage location. (Note: your UStoreFiles drive may be mapped to another drive letter besides ‘W’)
Previous issues using Ansys EDT on the WORK filesystem (which uses Lustre) have been resolved

2. Using the CIRCE Desktop Environment, connect to circe.rc.usf.edu and log in with your USF NetID credentials.

3. Go to Applications>System Tools>Terminal to start a command-line session.

4. Load the Ansys EDT module:

[user@login0 ~]$ module add apps/ansysEM/17.1


5. Change to the directory in which your model resides:

[user@login0 ~]$ cd $WORK/Ansoft/ExampleModel
[user@login0 ExampleModel]$


6. (Optional) From here, you can open the Ansys EDT graphical interface (GUI) in order to view and edit your files. As long as you have the module loaded from step 4, you can open the GUI from the command line:

[user@login0 ~]$ ansysedt


Please note, however, that you must follow step 7 below in order to submit your job to the cluster.

7. Submit the job using the sbatch command:

[user@login0 ~]$ sbatch --job-name="MyModel.aedt" --nodes=1 --ntasks-per-node=4 --time=01:00:00 $ansysedt_slurm


In the example above, we are submitting a job to analyze the designs in MyModel.aedt using 4 processors on a single server with a maximum runtime of 1 hour.

Batch Execution Options

Submitting your job to CIRCE allows for several modes of operation, depending on how your analysis settings are configured. For jobs using the direct sequential solver, we can utilize multiple processors on a single server to facilitate speed-up of the application and shared memory. Continuing with the previous example of submitting such a job:

[user@login0 ~]$ sbatch --job-name="MyModel.aedt" --nodes=1 --ntasks-per-node=4 --time=01:00:00 --mem=8192 $ansysedt_slurm

The key option for using the sequential solver is to set —nodes equal to 1 and to have —ntasks-per-node be less than or equal to 16. This time, we are also requesting 8.0 GB of memory (expressed in megabytes) on the server by setting the —mem option. The value for —mem can vary from less than 1.0G for normal jobs up to 180G for large memory jobs. Note that most nodes have a maximum of 28 GB available.

For jobs configured to use Solver Domains, we can use the Distributed analysis type. Distributed analysis allows us to not only utilize multiple processors on a server, but to utilize multiple servers together in order to reach a solution even more quickly. Here’s an example submission below:

The key options for using the distributed (DSO) solver are:

1. Ensure that in your analysis settings, Enable the use of Solver Domains is selected

2. Ensure that —nodes >= 2

3. Ensure that —ntasks-per-node <= 16

4. Ensure that —mem <= (28 x nodes)

You must specify your job run-time using the —time option if your job will run for longer than 1 hour. The time format is in HH:MM:SS. The Below example shows a distributed job using 8 processors on 4 nodes, for a total of 32 processors using 64 GB of memory running for up to 24 hours.

user@login0 ~]$ sbatch --job-name="MyModel.aedt" --nodes=4 --ntasks-per-node=8 --time=24:00:00 --mem-per-cpu=2048 $ansysedt_slurm

Job Status and Progress Information

You can view the state of your job in the scheduler by running

[user@login0 ~]$ squeue -u user

You can also watch the Ansys EDT job log, once the job has started (entered the ‘R’ state), in order to see the progress of the analysis. This can be done by ‘tailing’ the output file. Using the command below, output that is generated by Ansys EDT is automatically printed to your screen as it arrives. The log file name is <MyProjectFile>.aedt.out.<JobIdNumber> where <MyProjectFile> is the file name submitted for analysis and <JobIdNumber> is the Job ID number as shown in the first column of the squeue output. This is illustrated below:

[user@login0 ExampleModel]$ tail -f MyExample.aedt.out.294322
[progress:  2%] (2) helical_antenna - HFSSDesign1 - Setup1: Solving Ports on Local Machine - RUNNING: Building matrix (9:42:03 AM  Dec 18, 2012)
[progress:  8%] (2) helical_antenna - HFSSDesign1 - Setup1: Solving Ports on Local Machine - RUNNING: Building matrix (9:42:06 AM  Dec 18, 2012)
[progress: 20%] (2) helical_antenna - HFSSDesign1 - Setup1: Solving Ports on Local Machine - RUNNING: Building matrix (9:42:08 AM  Dec 18, 2012)
[progress:  0%] (2) helical_antenna - HFSSDesign1 - Setup1: Port-Refining Mesh on Local Machine - RUNNING:   (9:42:10 AM  Dec 18, 2012)
[progress: 15%] (2) helical_antenna - HFSSDesign1 - Setup1: Port-Refining Mesh on Local Machine - RUNNING: Reading the mesh stats. (9:42:32 AM  Dec 18, 2012)
[progress: 50%] (2) helical_antenna - HFSSDesign1 - Setup1: Port-Refining Mesh on Local Machine - RUNNING: Reading the mesh stats. (9:42:46 AM  Dec 18, 2012)
[progress: 75%] (2) helical_antenna - HFSSDesign1 - Setup1: Port-Refining Mesh on Local Machine - RUNNING: Morphing the mesh for curved surfaces (9:42:58 AM  Dec 18, 2012)


Documentation

Home Page, User Guides, and Manuals

Benchmarks, Known Tests, Examples, Tutorials, and Other Resources

  • Ansys EDT Examples
    • /apps/AnsysEM/17.1/AnsysEM17.1/Linux64/Examples

More Job Information

See the following for more detailed job submission information:

Reporting Bugs

Report bugs with ANSYS EDT (formerly HFSS) to the IT Help Desk: rc-help@usf.edu