When ElmerGUI is run from a terminal in Ubuntu, the program outputs progress and error messages to the console. When ElmerGUI is run from a shortcut or from command line in Windows, there isn't any output to the console. I came across this post describing how to add console output to a Qt GUI program https://stackoverflow.com/questions/336 ... qt-gui-app and was wondering if this functionality could be added? This would be very nice, particularly if the calls to Elmergrid from within ElmerGUI printed status messages and messages about any errors.
Thanks, Rich.
ElmerGUI and console output in Windows
Re: ElmerGUI and console output in Windows
So I tried one of the many things in that stackoverflow link, and it worked nicely.
Open a command prompt and enter this:
You will see the loading steps output from ElmerGUI, plus the output will be logged into the text file 'output.txt'.
Rich.
Open a command prompt and enter this:
Code: Select all
powershell "elmergui | tee output.txt"
Rich.