Skip to main content

Ansys Electronics Desktop Testing Framework. Current module allows to setup and run automated tests and validate results across multiple versions of Ansys Electronics Desktop products, eg HFSS, Maxwell, Icepak, Q3D, etc

Project description

Description

This project aims to provide an Automated Framework to test Ansys Electronics Desktop (AEDT). Users can set up a suite of tests to validate stability/regression of results between different versions of Ansys Electronics Desktop.

Table of Contents

Features

The current framework provides the following features:

  • Compare results of XY plots, mesh statistics and simulation time.
  • Web page output format for visual comparison
  • JSON file output format to support automated workflows and use of test results downstream.
  • Parallel distribution of test projects
  • Cross-platform: support for Windows and Linux
  • Compatibility with local machine and most known cluster schedulers: LSF, SGE, Slurm, PBS, Windows HPC
  • Control of required resources for each project and optimized distribution of tasks
  • Automatic generation of reference results (AEDT versions 2019R1+)

Installation

To install the package use:

pip install aedttest

Usage

Electronics Desktop testing framework automatically identifies environment where it was launched. In this chapter we will show basic examples of starting tests on local machine or on clusters with scheduler. In all scenarios we use Command Line Interface (CLI).

Configuration file

Framework requires configuration file as input. Please read configuration.md to understand how to create a file.

CLI Commands

To expose the available commands use the following command line

Open CLI commands Help

aedt_test_runner -h

Examples

Local machine

To start test on local machine use following command line

Generate only reference results
aedt_test_runner --config-file=config.json --aedt-version=193 --only-reference
Run comparison between versions
aedt_test_runner --config-file=config.json --aedt-version=222 --reference-file=input/reference_results.json

Slurm

Generate only reference results
sbatch \
  --job-name aedttest \
  --partition ottc01 \
  --export "ALL,ANSYSEM_ROOT193=/apps/software/ANSYS_EM_2019R1/AnsysEM19.3/Linux64,ANS_NODEPCHECK=1" \
  --nodes 2-2 --ntasks 56 \
  --wrap "aedt_test_runner --config-file=config.json --aedt-version=193 --only-reference"
Run comparison between versions
sbatch \
  --job-name aedttest \
  --partition ottc01 \
  --export "ALL,ANSYSEM_ROOT222=/ott/apps/software/ANSYS_EM_2022R2_211129/v222/Linux64,ANS_NODEPCHECK=1" \
  --nodes 2-2 --ntasks 56 \
  --wrap "aedt_test_runner --config-file=config.json --aedt-version=222 --reference-file=~/reference_results.json"

Limitations

Currently, project does not support or partially supports following features:

  • Automatic results creation is possible only for versions 2019R1+
  • LS-DSO is not supported
  • Linux clusters require SSH to be pre-configured for the user

Contributors

If you would like to contribute to this project, please see CONTRIBUTE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aedttest-0.0.1.dev3.tar.gz (199.9 kB view details)

Uploaded Source

Built Distribution

aedttest-0.0.1.dev3-py3-none-any.whl (193.1 kB view details)

Uploaded Python 3

File details

Details for the file aedttest-0.0.1.dev3.tar.gz.

File metadata

  • Download URL: aedttest-0.0.1.dev3.tar.gz
  • Upload date:
  • Size: 199.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for aedttest-0.0.1.dev3.tar.gz
Algorithm Hash digest
SHA256 95b0a257c9af921e15cb62e96306f0342afa89e912cc3596f70c25ad03b885a1
MD5 d3c9492f2dd7ffdc7a537fd6a98d47c3
BLAKE2b-256 2c2677bbdf15df2b29fc0996561e736e43e30a5b9f3adddb39936a2efde42a25

See more details on using hashes here.

Provenance

File details

Details for the file aedttest-0.0.1.dev3-py3-none-any.whl.

File metadata

  • Download URL: aedttest-0.0.1.dev3-py3-none-any.whl
  • Upload date:
  • Size: 193.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

File hashes

Hashes for aedttest-0.0.1.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 9eefa66325de4870c5d484547046eecdcee0cfd9106a9e94b368360de0055cbf
MD5 613968f317d8ecea3b13c421b3f19bb3
BLAKE2b-256 76d5c7a135b6e173ddd05a2db5a511cb84ca40e03f00a0fc5cae964e2cdca4b3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page