0

This question already has an answer here:

I am trying to run TauDEM algorithims with zero luck. I am running QGIS 2.4, have installed TauDEM 5.0.6, MPICH2 and still am getting nowhere. I either get a problem loading output layers or directory name is invalid. Please help.

marked as duplicate by underdark Nov 15 '17 at 18:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Have you looked at this question. Also, is there a reason you're on 2.4 instead of 2.8? – dassouki Jul 2 '15 at 16:40
  • I have looked at that posting in detail and it has after several hours of attempts not resolved my issue. I do have 2.8 installed as well, but there is no information about the optimum version of TauDEM for any of the QGIS versions. – Groundwater_Guy Jul 3 '15 at 5:56
  • Some additional info: I had the same experience Robotuner had but I found it odd that I had to go to the Registry Editor to add these directory paths (both to mpiexec and Taudem). Am I mssing something ? – user69223 Mar 14 '16 at 8:01
1

I'm having the same problem, but think I have fixed it. I think there are two problems. The first is where mpiexec is installed. The default location is c:\Program Files\Microsoft HPC Pack 2012\bin There are spaces in the path. What I had to do was uninstall it, download the installer from the link in the TauDEM site (http://hydrology.usu.edu/taudem/taudem5/downloads.html), then reinstall it again, but this time specifying a path without spaces. Then I had to manually modify the System Path so that it would have the correct path to the mpiexec.exe.

The second issue is that when you save your output file, save it to a location without spaces in the path. Just creating a temporary output file doesn't seem to work, even though the path doesn't have spaces. I think that is because the default location is in the users appdata directory, it is probably a permissions issue.

Hopefully this helps.

Update, after playing with QGIS2.8 a little longer, I found that it wasn't necessary to reinstall the HPC to another directory. If I left it at the original location and simply set the MPICH2/Open MPI bin directory to c:\Program Files\Microsoft HPC Pack 2012/bin/ and the TauDEM command line tools folder to c:\Program Files/TauDEM/TauDEM5exe/ folders, it appeared to work.

Not the answer you're looking for? Browse other questions tagged or ask your own question.