[GRASS-dev] [GRASS GIS] #1903: r.watershed fails with "Subprocess failed with exit code 6"

GRASS GIS trac at osgeo.org
Wed Mar 20 08:22:07 PDT 2013


#1903: r.watershed fails with "Subprocess failed with exit code 6"
-------------------------+--------------------------------------------------
 Reporter:  marcosc      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Raster       |     Version:  svn-releasebranch64      
 Keywords:  r.watershed  |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:2 marcosc]:
 > LFS is enabled, but we are working on a 64-bit platform anyway.
 >
 > The command:
 {{{
  r.watershed -fm elevation=... accumulation=... drainage=... basin=basins
 stream=... threshold=10000 memory=25000 --overwrite --verbose
 }}}
 > ... with:
 {{{
  g.region -p

  rows:       38728
  cols:       55611
  cells:      2153702808
 }}}
 >
 The number of cells can cause integer overflow because the largest 32bit
 integer is 2147483647 < 2153702808. This limit has been removed in GRASS
 7.

 Markus M

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1903#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list