rarthur Posted July 13, 2021 Share Posted July 13, 2021 We are developing batch jobs to run several hundred React scripts at a time. Occasionally during execution of the batch file, and seemingly randomly, an “error reading script” dialog box is written to the laptop’s screen with a message such as “Warning: node 0 has a charge imbalance of -1.023e-07 faradays. Cancel reading input script?” and includes buttons labelled “yes” and “no”. We are convinced the charge imbalance is not an issue because it is negligible, but the dialog box is inconvenient because it requires the user to physically hit the “no” button. This becomes a real nuisance in batch mode because the user must continuously monitor the progress of the run over durations of several tens of hours and hit the “no” button whenever the dialog box appears. Is there a way to suppress writing of these boxes? We are using version 12 of GWB. Quote Link to comment Share on other sites More sharing options...
Jia Wang Posted July 14, 2021 Share Posted July 14, 2021 Hello, There are a few ways to go about setting up a batch run in the GWB. Which method are you using? Are you using the Control script, Remote Control, or Plug-in feature? Best, Jia Wang Aqueous Solutions LLC Quote Link to comment Share on other sites More sharing options...
rarthur Posted July 14, 2021 Author Share Posted July 14, 2021 Thank you, Jia. We are using a Control Script with set, puts, and script start statements. If there is a statement that can be put in the sequence that would bypass the warning that would be great. Quote Link to comment Share on other sites More sharing options...
Jia Wang Posted July 19, 2021 Share Posted July 19, 2021 Hello, Thank you for the additional information. There's no direct command that would turn off error dialog messages atrun time. When you are running your input scripts, are you picking up results from a previous simulation or starting a brand new set of commands? It would help to diagnose possible issues that's leading to the error being reported at read in time if you can provide an input script that we can use to reproduce the error. Also, I just want to let you know that control scripts (using the TCL scripting language), while can perform batch runs, may not be the best scripting option for running more complex inputs. For more complex scripting, you might be interested in using the Plug-in feature instead, which allows you to call GWB application(s) to perform calculations within another program. For more information and example using the Plug-in feature, please refer to chapter 7 of the GWB Reference Manual. Best regards, Jia Quote Link to comment Share on other sites More sharing options...
rarthur Posted July 19, 2021 Author Share Posted July 19, 2021 Thank you for this information, Jia. We are not picking up results from previous simulations in our runs. We may consider the Plug-in feature in future refinements of our approach. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.