January 27, 2021 at 3:15 pmsteven.vandenbrandeSubscriberHello,nI am working at an HPC facility and one of our users runs FLUENT simulations. The license server is setup on one of their machines, and they perform calculations both on our machines and on their local machines.nOn the HPC side, there is a job scheduler which we have configured to only let jobs start if the necessary licenses are available. This requires of course that our scheduler can regularly query the license server to see how many licenses are available at a given moment. Currently this is done by using the ansysli_util program, shipped with ANSYS in shared_files/licensing/linx64. When using the -printavail option, the partial output is:nFEATURENAME: anshpcnPRODUCTNAME: ANSYS HPCnVERSION: 9999.9999nEXPIRATION_DATE: 2021/12/31 23:59:59nCOUNT: 256nUSED: 108nCUSTOMER: 423361nAt first sight, it seems like the number of available licenses can be determined as COUNT-USED. However, it turns out that the USED field does not take into account licenses that are in use on the machines outside of our HPC (so at the user's own cluster). For instance, immediately after the above -printavail command, the following output is obtained when trying to check out licenses:n./ansysli_util -checkcount 108 -checkout anshpcnANSYS LICENSE MANAGER ERROR : Not enough ANSYS HPC licenses 108/52.nnanshpc CHECKOUT FAILEDnApparently, only 52 more licenses are available instead of the expected 256-108=148 (the others being in use at the user's cluster). The question is therefore the following: is there an easy way to get the correct number of available licenses for all features at once?nThe machines on the HPC run on CentOS, the version of ansysli_util isnansysli_util -versionnANSYS Licensing Interconnect version 2.1.1 (20200514) for linx64. Updated at ANSYS Release 2020 R2.n
January 27, 2021 at 3:54 pmANSYS_MMadoreAnsys EmployeeCan you use ./lmutil lmstat -f anshpc -c port@hostname ?.Thanks,nMattn
January 27, 2021 at 4:48 pmsteven.vandenbrandeSubscriber
@StevenVandenbrande Can you use ./lmutil lmstat -f anshpc -c port@hostname ?Thanks,Matthttps://forum.ansys.com/discussion/comment/104568#Comment_104568Unfortunately this does not seem to work, I get the error:nError getting status: Cannot connect to license server system. (-15,570:115 'Operation now in progress')nIs it possible that there is a difference between the ports for the flexlm and ansysli servers? I tried both ports that I got from the user, neither works with lmutil.n
January 28, 2021 at 1:34 pmANSYS_MMadoreAnsys EmployeeYou may need to ensure that the ansyslmd port is open on the license server machine firewalls to allow the command to work. The command would use the lmgrd port but must be able to communicate on the lmgrd and ansyslmd ports.n
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- License Error
- Error with workbench SceneGraphChart
- How can I renew ANSYS student version license?
- Workbench not opening
- Sizing on Ansys Workbench 19.2
- Workbench error
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Ansys2021R2 ansys212 seg faults immediately on RHEL8.2
- Licensing error while opening ANSYS Mechanical
- An error occurred when the post processor attempted to load a specific result.
© 2023 Copyright ANSYS, Inc. All rights reserved.