-
-
June 6, 2019 at 2:25 am
utkug
SubscriberHello,
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
-
June 6, 2019 at 4:39 pm
tsiriaks
Ansys EmployeeHi 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
-
June 6, 2019 at 4:50 pm
utkug
SubscriberHello 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
Â
Â
Â
-
June 7, 2019 at 5:51 pm
tsiriaks
Ansys EmployeeHi 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
-
July 11, 2019 at 7:58 pm
utkug
SubscriberHello 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
-
July 11, 2019 at 10:42 pm
tsiriaks
Ansys EmployeeHi 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
-
August 6, 2019 at 5:48 pm
utkug
SubscriberHello 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
-
August 7, 2019 at 12:04 am
tsiriaks
Ansys EmployeeHello Utku,
Perfect ! Thank you for the update. I'm glad it's working for you.
Thanks,
Win
-
- The topic ‘License Issue in HPC Cluster’ is closed to new replies.
-
3977
-
1461
-
1272
-
1124
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.