[GRASS-user] GRASS 7 error code 9
Markus Metz
markus.metz.giswork at googlemail.com
Thu Nov 17 02:55:50 EST 2011
On Thu, Nov 17, 2011 at 6:03 AM, Pankaj Kr Sharma <pkscwc at gmail.com> wrote:
> Dear grass-users and developers,
>
> I am currently using grass 7 svn version 48293.
> ( Part Output of command " svn info" Last Changed Rev: 48293 )
>
> Software and Hardware specifications of my computer are listed below:
> Hardware: AMD Phenom(tm) II X6 1055T Processor, 2 * 1 tb hard disk, 16 gb
> ram, graphics card etc. (details of command "sudo lshw" are attached
> separately.)
> Software: OS, ubuntu 11.04 - the Natty Narwhal
> Grass 7 Compilation output:
> CFLAGS="$CFLAGS" ./configure \
> --enable-debug \
> --enable-64bit \
> --with-libs=/usr/lib64 \
> --with-cxx \
> --with-readline \
> --with-freetype=yes \
> --with-freetype-includes="/usr/include/freetype2/" \
> --enable-largefile=yes \
> --with-proj-share=/usr/share/proj/ \
> --with-geos=/usr/local/bin/geos-config \
> --with-cairo \
> --with-tcltk-includes="/usr/include/tcl8.4/" \
> --with-wxwidgets \
> --with-postgres=yes \
> --with-sqlite=yes \POSTGIS="1.5.3" GEOS="3.3.0-CAPI-1.7.0" PROJ="Rel. 4.7.1,
> 23 September 2009" LIBXML="2.7.8" USE_STATS
> (1 row)
>
> --with-python=yes \
> --with-opengl-libs=/usr/include/GL \
> --with-ffmpeg=yes \
> --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat
> /usr/include/libswscale" \
> --with-blas \
> --with-lapack \
> --with-postgres \
> --with-gdal \
> --enable-largefile \
> --with-postgres-includes=/usr/include/postgresql
>
> Output of "gdal-config --version" : 1.9.0
> Output of "/usr/bin/proj" : Rel. 4.7.1, 23 September 2009
> Output of "geos-config --version" : 3.3.0
> Output of "/usr/bin/psql --version" : psql (PostgreSQL) 9.1beta3
> Output of command " select PostGIS_full_version();" run from psql prompt:
> POSTGIS="1.5.3" GEOS="3.3.0-CAPI-1.7.0" PROJ="Rel. 4.7.1, 23 September 2009"
> LIBXML="2.7.8" USE_STATS (1 row)"
>
> Perhaps , this give us a fair idea of GRASS 7 environment .
>
> My raster image is 42001 * 42001 rows and column and approx 1.76 billion
> cells large (srtm 90m mosaic).
>
> I am getting error " WARNING: Subprocess failed with exit code 9 " from
> r.watershed command , whenver I use more than 8.5 gb ram.
Can you post the full output of the failed command, from the
invocation until it failed? Then it is easier to find out where and
why it failed. You can also enable debugging (level 2 or 3) to get
more diagnostics.
Markus M
> Below which it worked fine. Output is given below.
> --------------------------------------------------------------------------
> (Wed Nov 16 16:50:17
> 2011)
> r.watershed -m --overwrite --verbose elevation=big_india at PERMANENT
> threshold=12345 accumulation=bi100sqkm_acc drainage=bi100sqkm_fdir
> basin=bi100sqkm_basin stream=bi100sqkm_stream memory=8000
> SECTION 1 beginning: Initiating Variables. 5 sections total.
> Will need up to 40.67 GB (41647 MB) of disk space
> SECTION 1a: Mark masked and NULL cells
> SECTION 1b: Determining Offmap Flow.
> SECTION 2: A* Search.
> SECTION 3: Accumulating Surface Flow with MFD.
> SECTION 4: Watershed determination.
> SECTION 5: Closing Maps.
> Closing stream segments map
> Closing basins map
> Closing accumulation map
> Closing flow direction map
> (Thu Nov 17 06:44:18 2011) Command finished (50041
> sec)
> --------------------------------------------------------------------------------
>
> The r.stream.extract command also has trouble of different kinds depending
> on ram used and size of the raster which I have reported to Mr. M Metz
> separately.
> Could this be a bug related to memory management of GRASS 7 or the linux
> itself or any other component.
> Hope , it helps someone someway.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
More information about the grass-user
mailing list