Ansys Electronics Desktop Testing Framework.
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 .
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aedttest-0.0.1.dev1.tar.gz
.
File metadata
- Download URL: aedttest-0.0.1.dev1.tar.gz
- Upload date:
- Size: 200.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3798febca8e3bc7f47debd2e8f6a40ab42dc16af91ea4f38fd253e078b0a64 |
|
MD5 | f9282cecfbc6d1da4657cfe1355eb95f |
|
BLAKE2b-256 | 5f3c74f57bfed7e847484a75f23d81d213e2b27673a310d520877288148f8136 |
Provenance
File details
Details for the file aedttest-0.0.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: aedttest-0.0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 193.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3459f2f3bc4a5a5104d30fb40cb298dfb29a869a649376f662841583940745c |
|
MD5 | 1d23fb592584e2e87059d83aa5a7d2d3 |
|
BLAKE2b-256 | 35412fb31c930785c636b41033c01195b44c783b0c38845fe21052202e67cf34 |