Run TUFLOW From a Batch-file: Difference between revisions
Content deleted Content added
Line 407: 
REM ______________SET RUN VARIABLES_____________ 
set TUFLOWEXE="C:\TUFLOW\Releases\2020-10-AE\TUFLOW_iSP_w64.exe" 
set RUN=start "TUFLOW" /low "%TUFLOWEXE%" -b  
set /a CPU_Cores=5 
Line 452: 
endlocal 
</pre> 
===Coordinating Asynchronous Simulations=== 
This batch file will set off asynchronous runs on separate threads, and then wait for all runs to finish before moving to the next process. This example kicks off 8 tuflow.exe processes and then waits before collating (in fortran) and processing the results (in python). Both “combine_therad_outputs.exe” and “Post_process.py” are dummy programs only (with dummy arguments), and are included just to demonstrate how any sort of post processing might be called after the synchronisation of all TUFLOW simulations. 
 | |||