Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

License Issue in HPC Cluster

    • utkug
      Subscriber

      Hello,


      I am trying to update a workbench file in batch mode. I prepared a python script and it worked on my local computer. I uploaded the files to my university's HPC cluster. Whenever I run the workbench in batch mode using interactive job scheduling it works fine. However whenever I try to use .sh file to submit a job, workbench crashes and the error is *** ERROR - Insufficient HPC licenses available.


      whybad=       -1070. I checked the license manager and I am the only one using the license and we have 128 HPC licenses.


      any recommendation about this will be highly appreciated.


       


      Utku

    • tsiriaks
      Ansys Employee

      Hi Utku,


      For this 


      "Whenever I run the workbench in batch mode using interactive job scheduling it works fine"


      you meant, you use Workbench GUI, to specify the job to solve on 'background' ? Can you post the screenshot of that settings ?


      For this


      "whenever I try to use .sh file to submit a job, workbench crashes and the error is *** ERROR - Insufficient HPC licenses available."


      please post the command you use to execute the script as well as the content of the script.


      Thanks,


      Win

    • utkug
      Subscriber

      Hello Win,


      For "Whenever I run the workbench in batch mode using interactive job scheduling it works fine" : I use runwb2 -B -R "batch_run_ansys.py" and it runs in batch mode and Gui is not opened. It uses 32 cores. I attached the python file.


       


      For "whenever I try to use .sh file to submit a job, workbench crashes and the error is *** ERROR - Insufficient HPC licenses available.": I use a qsub command to submit the .sh file. I attached the sh file too.


      In my eyes two operation is identical however something is not right.


      I attached them in a text file.


      Thanks in advance!


       


      Utku


       


       


       

    • tsiriaks
      Ansys Employee

      Hi Utku,


      I can't see any red flags here.


      Can you try the two workflows again and note the approx. time. Then, go to the license server machine and get this ansysli_server.log under (default location)


      Windows  C:Program FilesANSYS IncShared FilesLicensing


      Linux  /ansys_inc/shard_files/licensing 


      then, look at the bottom of the log. You should see your checkout and denied (you can also check the timestamp) , please take the screenshot of all the entries around those and post it here.


      Thanks,


      Win

    • utkug
      Subscriber

      Hello Win,


      I realized that when I use the batch mode ansys is using the AIM Pro license, therefore it is crushing because it doesnt have HPC license. 


      I was wondering if there is a way to specify the license that I want to use in python script.


      Utku

    • tsiriaks
      Ansys Employee

      Hi Utku,


      Now I wonder what analysis type you have in your Workbench project. It should not use AIM Pro license.


      Can you post the content of ansysli_server.log that is using AIM Pro license and the subsequent denial entry for HPC ?


      I don't think you can specify the license in the runwb2 command but you might be able to specify users license preferences before solving it. 


      /ansys_inc/v1xx/commonfiles/tools/linx64/ansyslm_relutil -client_licutil


      Thanks,


      Win

    • utkug
      Subscriber

      Hello Win,


      I used the license client and disabled the use of AIM license. After that, my batch codes ran perfectly! Thanks for the idea!


      Utku

    • tsiriaks
      Ansys Employee

      Hello Utku,


      Perfect ! Thank you for the update. I'm glad it's working for you.


      Thanks,


      Win

Viewing 7 reply threads
  • The topic ‘License Issue in HPC Cluster’ is closed to new replies.