Jump to content
Geochemist's Workbench Support Forum

Suppress warning messages in batch mode?


Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...