TUFLOW Runner: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 33:
* If running through the QGIS Plugin, in the QGIS menu select '''Plugins >> TUFLOW >> RUN >> Launch TUFLOW Runner'''.
Before using the runner, the computer settings need to be specified. You can do this by Choosing '''Settings''' option from the Menu.
[[File:Setting Runner 1.jpg|550px|]]<br>
The resources tab at the top of the dialog is to specify the machine limits for the number of GPU cards and CPU threads. These will generally only be limiting if you are running both TUFLOW and TUFLOW FV at the same time. Otherwise, model specific limitations will prevent exceeding these limits.
TUFLOW and TUFLOW FV each have their own tab to specify executable locations and configuration parameters. For each configuration, you can choose whether to run with one or more GPUs and how many CPU threads to make available. These settings will override settings specified in the input files (for TUFLOW this requires that the "write hardware flags" is specified and you are using 2023-03-AB release or later). Because TUFLOW may use multiple threads during the initial setup phase but a GPU card during the hydraulic calculations, it is recommended to set the number of CPU threads to the number of cores available on the machine when doing GPU simulations and setting the reserve value to 0. CPU simulations will generally use the same number of threads for reserved and the primary CPU thread setting. Set the configurations to not exceed available licenses.
If you have 2 GPUs and 24 threads available with licenses to support them, the configurations could be setup multiple ways to maximum the complete resources:
* Option 1 - Three configurations where two have a GPU, 12 threads, and 0 threads reserved and a configuration with 0 GPUs with 24 threads and 24 threads reserved.
* Option 2 - Two configurations where one has 2 GPUs, 12 threads, and 0 threads reserved and a configuration with 0 GPUs with 24 threads and 24 threads reserved.
For either of these options, simulations would try to run on the first specified configuration first so you would want the GPU configurations listed first to take advantage of these resources first.
Even if your licensing and resources allow, it may not be worthwhile to run CPU configurations because of the speed advantages of the GPU hardware.
[[File:Setting Runner 2.jpg|550px|]]<br>
==Running the tool==
| |||