TUFLOW crashing: Difference between revisions

Content deleted Content added
Line 42:
Crash at the start of the model might be connected to an erroneous input data or an error in the control files. It might be captured as standard TUFLOW error or as a Fortran compiler error leaving messages only in the console window.<br>
'''Suggestions:'''
* Open the .tlf. The control file/GIS layer written just above the error should be the cause of the issue. Check the file/GIS layer for any unusual setup.
* KeepIf there is no error in the .tlf, <u>[[TUFLOW_crashing#How_to_keep_simulation_console_window_open | keep the simulation console window open]]</u> to see errors not written in the .tlf file:.
** Insert "pause" at the end of the batch file and remove any Start "TUFLOW", -b and/or -t switch. <u>[[Run_TUFLOW_From_a_Batch-file#Batch_file_for_Tutorial_Model_Module_1 | Simple batch file]]</u> should be used if looping batch file doesn't keep the console window open even with the suggested changes.
 
** Or, let the console window be written to a text file, e.g. “TUFLOW.exe my_model.tcf > dump.txt”. This will redirect console output massages as well as the standard error stream to the “dump.log” file, and it will likely record more error information than the usual .tlf file.
* The control file/GIS layer written just above the error should be the cause of the issue. Check the file/GIS layer for any unusual setup.
If multiple large models are initialising at the same time, this could cause a memory overload and stop the simulations.<br>
'''Suggestions:'''