ansys / pyprimemesh

Pythonic Meshing Client for Ansys Prime Server
https://prime.docs.pyansys.com/
MIT License
19 stars 9 forks source link

Bug located in Prime Server start -- prime server needs cfd pre license #728

Open kmahajan-cadfem opened 6 months ago

kmahajan-cadfem commented 6 months ago

🔍 Before submitting the issue

🐞 Description of the bug

Is there any way to actually mention which license should the server use or to set any priority as which license will be used by the prime server.

many of the pyansys modules try to use the first available license, overall there should be a mechanism to choose the license, in some cases it is possible to send extra arguments to the server, but I did not find anything in case of Prime

📝 Steps to reproduce

make sure you only have structural licenses start prime - either standalone or using pyprime

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2023 R2 2024 R1

🐍 Which Python version are you using?

3.10

📦 Installed packages

-
waltersma commented 6 months ago

Hi @kmahajan-cadfem ,

At present the license is handled by checking if cfd_preppost is available and then if not looking for preppost. There is currently no option available to force the reverse. I will change this to an enhancement.

Thanks