Installing TUFLOW on Linux: Difference between revisions

Content deleted Content added
various minor corrections, match other wiki
m spelling
Line 44:
''Note: Major and minor releases are installed with a new directory under <code>/opt/tuflow</code>. For example, TUFLOW 2026.0.0 is installed under <code>/opt/tuflow/tuflow-2026.0</code>. Patch releases overwrite the existing installation that shares the same major and minor release number. For example, TUFLOW 2026.0.1 will update 2026.0.0 if present.''
 
== <span>Notes Forfor Running TUFLOW Under WSL</span> ==
If you are running a Linux installation with Microsoft Windows under WSL (Windows Subsystem for Linux), things should run as expected. If you want to use NVIDIA hardware with CUDA support with TUFLOW under WSL, you need to add the correct folder to the LD_LIBRARY_PATH environment variable, so that TUFLOW can find the correct CUDA shared libraries that work in WSL:
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH
In that folder there's a utility <code>/usr/lib/wsl/lib/nvidia-smi</code> which will indicate if the Linux installation can connect to the NVIDIA hardware otherwise managed by the Microsoft Windows driver.
 
== Running Aa Model ==
For either Linux distribution TUFLOW can be run by calling <code>tuflow-2026.0-isp</code> (this example would the currently installed patch for version 2026.0 and single precision) and by passing it a configuration file name:<syntaxhighlight lang="bash">
tuflow-2026.0-isp my_run.tcf
Line 61:
</syntaxhighlight>
 
== Return Toto Home Page ==
Return to [[Main_Page | Wiki Home Page]].