Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR TauDEM 000732 #251

Open
tabtab26 opened this issue Mar 27, 2023 · 3 comments
Open

ERROR TauDEM 000732 #251

tabtab26 opened this issue Mar 27, 2023 · 3 comments

Comments

@tabtab26
Copy link

tabtab26 commented Mar 27, 2023

Hi,
I just started to work with TauDEM in ArcGisPro, but there is always the same error accuring:

Traceback (most recent call last):
File "C:\Program Files\TauDEM\TauDEM5Arc\PitRemove.py", line 51, in

File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 20780, in CalculateStatistics
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 20777, in CalculateStatistics
retval = convertArcObjectToPythonObject(gp.CalculateStatistics_management(*gp_fixargs((in_raster_dataset, x_skip_factor, y_skip_factor, ignore_values, skip_existing, area_of_interest), True)))
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing_base.py", line 512, in
return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Raster Dataset: Dataset C:\Users\Giub\Documents\ArcGIS\Projects\ProbeTAuDEMLogan\Logan\loganfel.tif does not exist or is not supported
Failed to execute (CalculateStatistics).

I already reinstalled TauDEM, but this did not solve the problem. I also tried to use different DTMs and different Tools from the Toolbox, but ArcGIS shows always the same error.
I would be glad, if someone could help me.

@dtarb
Copy link
Owner

dtarb commented Mar 27, 2023

@tabtab26. The error message indicates that the output file was not written so is missing when there is an attempt to calculate statistics on it. To try to see what is actually going wrong open a command prompt (start cmd) and try the function from the command line

mpiexec -n 1 pitremove inputfilename.tif

This should give more detailed errors that should help.

Some possible problems

  • TauDEM installation or path. Did all the components get installed right. GDAL or MPI sometimes cause problems.
  • A limitation of the where the file is. Sometimes MPI has problems with thumb (small USB) or network drives if the files are there.
  • Something wrong with the input file (too big, not a grid TauDEM can read)

I would guess an installation/path issue in your case, since this is the first time you are trying it. See also Command line documentation at https://hydrology.usu.edu/taudem/taudem5/documentation.html where there is more information on running from the command line and debugging.

@tabtab26
Copy link
Author

Hello dtarb,
thank you for the answer!
I`m not really good with all that stuff, so i tried a different way by running the R code.
The same error accured, it looks like there is a problem with MPI. Do you know how I can fix that? Thank you for the help!

system("mpiexec -n 8 pitremove -z logan.tif -fel loganfel.tif")

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65292 error 1722

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65290 error 1722

job aborted:
[ranks] message

[4] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

job aborted:
[ranks] message

[6] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65293 error 1722

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65289 error 1722

job aborted:
[ranks] message

[3] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

job aborted:
[ranks] message

[7] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65294 error 1722

job aborted:
[ranks] message

[2] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65295 error 1722

job aborted:
[ranks] message

[1] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65291 error 1722

job aborted:
[ranks] message

[5] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)

Aborting: mpi appplication on LAPTOP-27QV4NGJ is unable to connect to the smpd manager on (null):65296 error 1722

job aborted:
[ranks] message

[0] fatal error
Fatal error in MPI_Init: Other MPI error, error stack:
MPI_Init(argc_p=0x0000000000000000, argv_p=0x0000000000000000) failed
Der RPC-Server ist nicht verfügbar. (errno 1722)
[1] 0

fel=raster("loganfel.tif")
Fehler in .rasterObjectFromFile(x, band = band, objecttype = "RasterLayer", :
Cannot create a RasterLayer object from this file. (file does not exist)
Zusätzlich: Warnmeldung:
C:/Users/Giub/Desktop/Logan/loganfel.tif: No such file or directory (GDAL error 4)
plot(fel)
Fehler in h(simpleError(msg, call)) :
Fehler bei der Auswertung des Argumentes 'x' bei der Methodenauswahl für Funktion 'plot': Objekt 'fel' nicht gefunden

@dtarb
Copy link
Owner

dtarb commented Mar 27, 2023

There may be multiple versions of mpi on your computer - perhaps from another program. I think you will have to try debug from a command prompt. At the command prompt if you type "where mpiexec" you will see which version of MPI is found. On my PC it is C:\Program Files\Microsoft MPI\Bin\mpiexec.exe. If yours is different it could indicate a problem that could be adjusted be editing your path or specifying the full path in executing mpiexec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants