<span>Dear grass-users and developers,<br><br>I am currently using grass 7 svn version 48293.<br>( Part Output of command " svn info" Last Changed Rev: 48293 )<br><br>Software and Hardware specifications of my computer are listed below:<br>
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.)<br>Software: </span><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Ubuntu;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="color:rgb(60, 60, 60);line-height:24px">OS, ubuntu 11.04 - the<span> </span><span style="font-style:italic">Natty Narwhal</span></span></span><span> <br>
Grass 7 Compilation output:<br>CFLAGS="$CFLAGS" ./configure \<br>--enable-debug \<br>--enable-64bit \<br>--with-libs=/usr/lib64 \<br>--with-cxx \<br>--with-readline \<br>--with-freetype=yes \<br>--with-freetype-includes="/usr/include/freetype2/" \<br>
--enable-largefile=yes \<br>--with-proj-share=/usr/share/proj/ \<br>--with-geos=/usr/local/bin/geos-config \<br>--with-cairo \<br>--with-tcltk-includes="/usr/include/tcl8.4/" \<br>--with-wxwidgets \<br>--with-postgres=yes \<br>
--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<br>(1 row)<br><br>--with-python=yes \<br>--with-opengl-libs=/usr/include/GL \<br>
--with-ffmpeg=yes \<br>--with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale" \<br>--with-blas \<br>--with-lapack \<br>--with-postgres \<br>--with-gdal \<br>--enable-largefile \<br>
--with-postgres-includes=/usr/include/postgresql<br><br>Output of "gdal-config --version" : 1.9.0<br>Output of "/usr/bin/proj" : Rel. 4.7.1, 23 September 2009<br>Output of "geos-config --version" : 3.3.0<br>
Output of "/usr/bin/psql --version" : psql (PostgreSQL) 9.1beta3<br>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)"<br>
<br>Perhaps , this give us a fair idea of GRASS 7 environment .<br><br>My raster image is 42001 * 42001 rows and column and approx 1.76 billion cells large (srtm 90m mosaic).<br><br>I am getting error "</span><span>
WARNING: <span>Subprocess</span> <span>failed</span> <span>with</span> <span>exit</span> <span>code</span> <span>9</span>
</span><span>" from r.watershed command , whenver I use more than 8.5 gb ram.<br>Below which it worked fine. Output is given below.</span><br>--------------------------------------------------------------------------<br>
(Wed Nov 16 16:50:17 2011) <br>r.watershed -m --overwrite --verbose elevation=big_india@PERMANENT threshold=12345 accumulation=bi100sqkm_acc drainage=bi100sqkm_fdir basin=bi100sqkm_basin stream=bi100sqkm_stream memory=8000<br>
SECTION 1 beginning: Initiating Variables. 5 sections total.<br>Will need up to 40.67 GB (41647 MB) of disk space<br>SECTION 1a: Mark masked and NULL cells<br>SECTION 1b: Determining Offmap Flow.<br>SECTION 2: A* Search.<br>
SECTION 3: Accumulating Surface Flow with MFD.<br>SECTION 4: Watershed determination.<br>SECTION 5: Closing Maps.<br>Closing stream segments map<br>Closing basins map<br>Closing accumulation map<br>Closing flow direction map<br>
(Thu Nov 17 06:44:18 2011) Command finished (50041 sec) <br>--------------------------------------------------------------------------------<br><br>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.<br>
Could this be a bug related to memory management of GRASS 7 or the linux itself or any other component.<br>Hope , it helps someone someway.<br>