[GIS] Running TauDEM in QGIS

installationqgistaudem

How do you configure TauDEM 5.1.2 to run in QGIS 2.10.1?

TauDEM plugin activated, and visible in the Processing Toolbox (Advanced Interface).

However, TauDEM tools do not run.

I get the message '"mpiexec"' is not recognized as an internal or external command, operable program or batch file.

NOTE: TauDEM DOES run from the command line interface (mpiexec is recognized).

System paths have been updated for MSMPI and TauDEM. OS is Windows 8.1' TauDEM 5.1.2 and QGIS 2.10.1 are each 64-bit installations (confirmed).

Best Answer

TauDEM appears as an option in QGIS's processing providers, but you still have to install it yourself, which is...unfortunate. The following worked for me:

System: Windows 7 64-bit, latest QGIS from the OsGeo4w installer (2.14 Essen)

  • Make sure the MS Visual C++ 2010 redistributables reccommended on the TauDEM support page are installed correctly - I had to remove and reinstall mine
  • Install the latest MS-MPI package, which is v7 at present - just google 'MS-MPI' and it should be result #1.
  • Install TauDEM from the source at -http://hydrology.usu.edu/taudem/taudem5/downloads.html. You'll have to provide a name and email to access the windows installer. That will also install a couple of things if you don't already have them, notably standalone GDAL - just roll with it.

In QGIS, open the Processing Options dialogue where you can enable TauDEM. Set the following options:

  • MPICH2/OpenMPI bin Directory: C:\Program Files\Microsoft MPI\bin
  • TauDEM command line tools folder: C:\Program Files\TauDEM\TauDEM5Exe

your folder locations should be pretty much identical to the above, maybe with minor differences. Setting those paths in QGIS should be identical to editing the registry keys mentioned above directly in regedit.

Restart QGIS and then test one of the tools, you should be good to go.

Related Question