Launch Mohid - saving output to log file

Discussion around MOHID GUI (managing projects, simulations, etc)
MOHID Beginner
Posts: 8
Joined: Thu Sep 29, 2011 19:03

Launch Mohid - saving output to log file

Postby » Fri Jun 15, 2012 01:22

Hello to all,

Do you know, how to see the whole log of running model in Mohid? In Mohid GUI there is an option in the Launch window - to save output into a file. But when I select it, the run doesn't work at all, just doesn't call the executable and produces the strange.bat file. Here are the printscreens
1. normal run ... JEGWoQ.jpg ... 6UtqQY.jpg
2. attempt to save the log ... 25gQqc.jpg ... fMI-aw.jpg

I am doing something wrong there or it is a bug? How can I save the log from command line running the model?


MOHID Advanced user
Posts: 187
Joined: Thu Jan 01, 1970 00:00

Re: Launch Mohid - saving output to log file

Postby davidbrito » Tue Jan 08, 2013 15:47

Hello Nadya,

It should work. I do not use in centuries, nut it does not work because the bat file does not have a call to the executable so it goes to the exe folder and does not do nothing.

If you want to save the dos window to a file in the command line if your exe is called mohid.exe:

Code: Select all

mohid.exe >> Log.Log

where Log.log is the file that it will save (in this case in exe folder but you can povide a path)


Return to “MOHID GUI (discontinued)”

Who is online

Users browsing this forum: No registered users and 1 guest