CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Regestry Exception when running batch commands of CFX simulations

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2022, 10:33
Question Regestry Exception when running batch commands of CFX simulations
  #1
New Member
 
Join Date: Aug 2022
Posts: 5
Rep Power: 3
Eman Eal is on a distinguished road
Howdy,
I am working with ansys to do large batches of runs using CFX through Workbench on a super computer as a graduate student.

In order to accomplish this I am using scripts written in iron python through the command line to run simulations in batch mode via the syntax

runwb2 -R script.wbjn -B

In the past this system was effective but recently I have been reviving an error when I run batches that are too large. This error is caused by tripping an exception.

Ansys.Utilities.Registry.RegistryException

This error only occurs when I am running many simulations simultaneously, typically around 48. And it typically only occurs in some of them allowing the others to proceed normally, though it can occur in all of them. It is not totally consistent.

From my attempts to research this problem online I have learned that it may have to do with licensing as well as the v130 <-- where 130 can be other numbers apparently file in the Ansys folder normally located in the appdata folder of windows, the super computer runs lynix though so I cant find that folder.

Are there any ideas on what I should look into to further diagnose the problem?

Thanks and have a nice day.
Eman Eal is offline   Reply With Quote

Old   October 20, 2022, 17:36
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If licensing was a problem I would expect it to report licensing errors.

I never use workbench from the command line. It does not surprise me if you find that it is not very stable in your extreme case. I find the CFX command line is very good and stable - so if you can run CFX stand alone in your application I think you will find that much more stable.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
batch job, cfx, exception, workbench, workbench linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Ansys in BAtch Mode kuleuvenstudent ANSYS 1 October 18, 2017 12:11
CFX not running in MPI distributed mode evan247 CFX 1 March 8, 2017 16:40
batch file problem Ansys CFX 15.0 papteo CFX 2 January 16, 2014 12:28
Running macros in parallel in batch mode nomad STAR-CCM+ 13 February 22, 2013 08:30
How to running CFX-POST in batch model withou X connection waynezw0618 CFX 0 August 3, 2010 14:43


All times are GMT -4. The time now is 05:25.