Qswat

2,950 views
Skip to first unread message

Bankim Joshi

unread,
Feb 12, 2016, 1:00:13 AM2/12/16
to SWAT-user
Problem with "TauDEM Pit Remove Please examine Output above" during execution of stream network, while in toolbox command [it remove it executes.
Pl. find attachment
error 1.png

Chris George

unread,
Feb 12, 2016, 7:53:36 AM2/12/16
to swat...@googlegroups.com
Hi,

I have seen this problem from others recently, and suggested some things
to try, but people do not inform me of how it is solved. So please get
back to me after the following.

The first thing to do is to download QSWAT again and reinstall it, in
case something is corrupted. If that does not help, please do the
following.

1. Open a command shell in your project's Source folder. Issue the command

C:\SWAT\SWATEditor\TauDEM5Bin\PitRemove

and you should see the following:

Error: To run this program, use either the Simple Usage option or
the Usage with Specific file names option
Simple Usage:
C:\SWAT\SWATEditor\TauDEM5Bin\PitRemove <basefilename>
Usage with specific file names:
C:\SWAT\SWATEditor\TauDEM5Bin\PitRemove -z <demfile>
-fel <newfile> [-sfdr <flowfile>]
<basefilename> is the name of the raw digital elevation model.
<demfile> is the name of the input elevation grid file.
<newfile> is the output elevation grid with pits filled.
<flowfile> is the input grid of flow directions to be imposed.
The following are appended to the file names
before the files are opened:
fel output elevation grid with pits filled.

This shows things are OK - the error is not giving any parameters. If
you get a different response please tell me what it is.

2. If step 1 looks OK, try the command

C:\SWAT\SWATEditor\TauDEM5Bin\PitRemove SourceDem.tif

and you should see something like:

PitRemove version 5.1.2
This run may take on the order of 1 minutes to complete.
This estimate is very approximate.
Run time is highly uncertain as it depends on the complexity of the
input data
and speed and memory of the computer. This estimate is based on our
testing on
a dual quad core Dell Xeon E5405 2.0GHz PC with 16GB RAM.
Processes: 1
Header read time: 0.009183
Data read time: 0.013412
Compute time: 0.011404
Write time: 0.056650
Total time: 0.090648

If you get a different response please tell me what it is.

3. The TauDEM executables supplied with QSWAT include a file msmpi.dll
that also comes with Microsoft MPI, so that TauDEM can run if MPI is not
installed. There can be problems if the msmpi.dll that comes with QSWAT
is a different version from MPI if it is installed. Try the command

where msmpi.dll

and if it comes back with, for example,

C:\Windows\System32\msmpi.dll

then you have an msmpi.dll on your path and don't need the local one.
Rename msmpi.dll in C:\SWAT\SWATEditor\TauDEM5Bin to, say, msmpi_dll and
try steps 1 and 2 again. If the where command says the dll can't be
found then this is not the problem, and the local msmpi.dll is needed.

4. If you have a 64-bit machine then QSWAT will have installed 64-bit
versions of the TauDEM executables. It is also possible to use 32-bit
versions on a 64-bit machine: they just run a little more slowly. To do
this, download
https://drive.google.com/file/d/0B852HLR87YyVdmRXX3JDNi1yX28/view?usp=drive_web

and then
a. Unzip it into C:\SWAT\SWATEditor and it should create a directory
TauDEM5x86Bin.

b. Rename the existing TauDEM5Bin directory to TauDEM5x64Bin

c. Rename TauDEM5x86Bin to TauDEM5Bin

d. Try QSWAT again.

Please let me know how you get on.

Thanks,
Chris
> --
> You received this message because you are subscribed to the Google
> Groups "SWAT-user" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swatuser+u...@googlegroups.com
> <mailto:swatuser+u...@googlegroups.com>.
> To post to this group, send email to swat...@googlegroups.com
> <mailto:swat...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/swatuser.
> For more options, visit https://groups.google.com/d/optout.

Ana Franco

unread,
Feb 17, 2016, 6:31:25 AM2/17/16
to SWAT-user
Hi Chris,

I have had the same problem and the step 3 has solved it. Thank you for the help.

Ana
Message has been deleted

Giovanni Gonzalez

unread,
Feb 21, 2017, 11:37:06 AM2/21/17
to SWAT-user
Hi Chris,

I tried to resolve this problem with options 1 and 2, but the answer was different: (attached the answer).
Please help me.

regards
Imagen1.png

SANTIAGO VALENCIA CÁRDENAS

unread,
Dec 14, 2017, 8:39:05 PM12/14/17
to SWAT-user

Hi Chris,

I have had the same problem and the step 4 has solved it. Thank you for the help.

Santiago
University of Antioquia, Medellín - Colombia

mba...@gmail.com

unread,
Apr 10, 2020, 8:16:46 PM4/10/20
to SWAT-user
Hi Chris,
Your post was helpful, but instead of having success I ran into issues that made it hard for me to figure out why I am having problems with PitRemove. 

In step 1, when I tried to run PitRemove as an administrator, I got the error "The application was unable to start correctly (0xc000007b). Click OK to close the application."

I tried reinstalling the entire set of QGIS-SWATeditor-QSWAT software as an administrator again, but no luck.

My bios also says that virtual processors are turned on.

The most surprising thing is that this installation is working on one machine but not another. 

Thoughts?

Thanks
Meghna.

Yhuri Anne

unread,
Jun 29, 2021, 11:32:13 AM6/29/21
to SWAT-user
Dear Chris,

I tried step 1 and then step 2. The problem (in attachment) was Step 2 (in attachment is the output).
It says "not a geotiff file" but my DEM is for sure geotiff as indicated in the properties
How can I proceed?

Many thanks.

Best regards,
Marie
errorTauDEM.png
errorTauDEM2.png

Anna Akswocheicu

unread,
Jan 27, 2022, 10:25:23 AM1/27/22
to SWAT-user
I had the same issue. It seems that the .tif file is too large (>4GB).  After cropping and decreasing resolution it started to work

Muslih Ahmed K

unread,
Jul 26, 2022, 2:33:57 PM7/26/22
to SWAT-user
Hello,
I got the following message after 2nd step. Could you please resolve this?

PitRemove version 5.1.2
Error opening file SourceDem.tif.
TauDEM input files have to be GeoTiff files.

job aborted:
[ranks] message

[0] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 21, comm rank 0
PS C:\QSWAT>

summera khan

unread,
Jul 26, 2022, 2:34:01 PM7/26/22
to SWAT-user

Hi
Dear Chris
After running step 2, I got the result as shown in attached file. Plz help
taudem issue.PNG

françois guillory

unread,
Oct 31, 2022, 9:45:06 AM10/31/22
to SWAT-user
hi everybody, got the same results as you, how did you solve this problem? tried installing other versions of qgis and qswat but that did not work. How did you got rid of this : job aborted:

[ranks] message

[0] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 21, comm rank 0

best regards

Reply all
Reply to author
Forward
0 new messages