-
Hello, I have my ANSYS license installed on a server (Host) that I am working on remotely using ANSYS 2023 R2 installed on the client. When I try to run the prime client, it gives me the following error.
This is the input code that i used.
This works correctly, when I run this cod snippet using a jupyter notebook installed on my server machine. Can you let me know if there is a different way to access this? I increased the server timeout to 60 seconds and also used the correct Port/IP to connect to the server. But it did not work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @som1197, PyPrimeMesh is the open source client for the Ansys Prime Server that is distributed with the Ansys installation. If I understand the question correctly you are running the PyPrimeMesh client on a different machine to the Ansys Prime Server instance you wish to use. Please refer to the docs here. You will need to launch the Ansys Prime Server from the Y machine and then connect the client to it from X. The code you are running above is trying to launch the Ansys Prime Server locally and not finding an Ansys installation. You can check the environment variable AWP_ROOT232 exists and points to a valid installation containing a folder named "meshing" to confirm if the Ansys installation should be available on X. Once an instance of Ansys Prime Server is started on Y machine (launching from console) you can connect the PyPrimeMesh client on X: Launch Ansys Prime Server from a console on Y: Connect the PyPrimeMesh client on X from the python script:
I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi @som1197, I edited my response to hopefully be clearer. The original error you are seeing is that launching locally the Ansys Prime Server it cannot find the Ansys 23R2 installation. When you say you tried the recommendation and it didn't work, what was the error? Was it to do with a timeout? If so, please check that you can ping the machine OK and that the Ansys Prime Server launched ok and did not close for any reason. Thanks |
Beta Was this translation helpful? Give feedback.
Hi @waltersma ,
I was able to resolve this issue. Thanks again for the help.