Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server license option to switch between read only and read/write or check in license #691

Open
dkowollik opened this issue Sep 9, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@dkowollik
Copy link

📝 Description of the feature

Hi,
our plan is to use several pyansys packages (four to five) in an optimization workflow. The launch, open, save and exit of all the ansys services takes a lot of overhead in such a workflow. Therefore, it would be beneficial to be able to launch the services at the beginning and do the update loops subsequently in each needed service. Unfortunately, at the moment this means to check out four to five licenses at the same time for larger pyansys workflows. It is not possible to pass on i.e. a preppost increment between the packages.
A helper class like a LaunchHandler that can take care of multiple pyansys services and pass on lincenses in between servicese would be great.

As a minimum enhancement it would be great to have at least a license_check_in() and license_check_out() method. With these methods in place, one does not block too many licenses. The overhead would be reduced. For example PyACP only uses check_in and check_out during update loops.

Each pyansys service behaves differently. For the license usage it would be great, if they are harmonized and the backends are enhanced to be able to provide such a behaviour.

For example, in-memory model transfer between services in combination with the ability to pass on licenses between services would be a perfect combination for complex workflows.

Thanks!

💡 Steps for implementing the feature

No response

🔗 Useful links and references

No response

@dkowollik dkowollik added the enhancement New feature or request label Sep 9, 2024
@RobPasMue
Copy link
Member

Hi @dkowollik - thanks for opening this issue. Since this is a general request for all packages let me transfer it to the https://github.com/ansys/pyansys repository for a broader audience.

@RobPasMue RobPasMue transferred this issue from ansys/pyansys-geometry Sep 9, 2024
@dkowollik
Copy link
Author

Hi @RobPasMue,

thank you for the transfer! lol - You responded and transfered the request so fast, that I thought the request disappeard somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants