HPC Running and Converting Models: Difference between revisions

Content deleted Content added
Line 40:
:: <font color="blue"><tt>CPU Threads </tt></font> <font color="red"><tt>==</tt></font> <tt> 4 </tt> <br>
<font color="blue"><tt>Else If Scenario </tt></font> <font color="red"><tt>==</tt></font> <tt> GPU </tt> <br>
:: <font color="blue"><tt>GPU Device IDIDs</tt></font> <font color="red"><tt>==</tt></font> <tt> 0, 1 </tt> <br>
<font color="blue"><tt>End If </tt></font> <br>
 
Line 49:
Other useful batch file switches include:<br>
<font color="blue"><tt>-nt <number_of_threads> </tt></font>: This switch is used to set the number of CPU threads used for CPU mode simulations.<br>
<font color="blue"><tt>-pu <GPU Device ID’sIDs> </tt></font>: This switch is used to select the number of GPU cards that TUFLOW uses.<br>
 
An example of how this would be implemented into a simple batch file for CPU and GPU are shown below.<br>