Run TUFLOW From a Batch-file: Difference between revisions

Content deleted Content added
Line 274:
 
===Looping in a batch file up to a certain number of runs===
The below example shows a method for controlling the number of concurrent simulations.<br>
See also this post by user Ben G T on the
[http://www.tuflow.com/forum//index.php?showtopic=1005&view=findpost&p=2997 TUFLOW forums].<br>
 
As a brief description of the below, the "do_while_loop_start" counts the number of processes in the task manager which have "TUFLOW" in the name. If this is greater than or equal to the variable "CPU_Cores" then the batch file waits for 60 seconds.