Pyaedt v0.5.0 Released with Linux CPython Support #1366
Closed
maxcapodi78
announced in
Announcements
Replies: 1 comment 4 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’d like to inform you about the following update: I’ve just released Pyaedt v0.5.0. This contains a major update especially for linux users.
• AEDT 2022R2 and pyaedt v0.5.0 works in CPython Linux (3.7-3.10) without any limitation like in windows. No need anymore to run with Ironpython
• Edb work well in Linux CPython without any limitation. No need anymore to run with Ironpython
• Full support of Python 3.10
• Drop of support of Python 3.6 and lower (except Ironpython)
• Pyaedt supports new AEDT GRPC Api. It means that a user can establish a remote connection with an existing remote AEDT session listening on a specified port and run it like locally (not valid for EDB).
In order to use Pyaedt in Cpython in Linux you need:
• CPython 3.7-3.10
• AEDT 22R2 installed. It has been released on July 7th 2022 on Customer Portal.
• Setup the following environment variables:
o export ANSYSEM_ROOT222=/path/to/AnsysEM/v222/Linux64
o export LD_LIBRARY_PATH=$ANSYSEM_ROOT222/common/mono/Linux64/lib:$ANSYSEM_ROOT222/Delcross:$LD_LIBRARY_PATH
After that you can open a python console and run
To launch Edb and open my_file.
edbversion
argument is set by default to ANSYSEM_ROOT222.Import one of AEDT Application and start a new session on a randomic grpc port or to connect to existing grpc session.
To start new session on specified port or to connect to exsting grpc session on portnumber.
non_graphical
option can be used.To connect to an existing AEDT session listening on port portnumber in a remote machine "machine name.
The AEDT session has to be already open and listening
To start the aedt session on remote machine : /path/to/AnsysEM/v222/Linux64/ansysedt -grpcsrv portunumber
This approach is working also cross platform (Windows-Windows, Windows-Linux, Linux-Windows)
Pyaedt Team
Beta Was this translation helpful? Give feedback.
All reactions