Skip to content
Permalink
Browse files

[processing] always pass number of cores as integer (fix #10894)

  • Loading branch information
alexbruy committed Oct 4, 2014
1 parent 410fe67 commit 7960dc21e37d67c81e79f870109d622f5cc05198
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/taudem/TauDEMAlgorithm.py
@@ -88,7 +88,7 @@ def processAlgorithm(self, progress):
commands = []
commands.append(os.path.join(TauDEMUtils.mpiexecPath(), 'mpiexec'))

processNum = ProcessingConfig.getSetting(TauDEMUtils.MPI_PROCESSES)
processNum = int(ProcessingConfig.getSetting(TauDEMUtils.MPI_PROCESSES))
if processNum <= 0:
raise GeoAlgorithmExecutionException('Wrong number of MPI \
processes used.\nPlease set correct number before running \

0 comments on commit 7960dc2

Please sign in to comment.
You can’t perform that action at this time.