[GRASS-dev] libgrass_iostream build problem...

cgnicholas at alamedanet.net cgnicholas at alamedanet.net
Fri Oct 9 22:30:23 EDT 2009


OK - here are the particular...and thanks again  folks for even looking at
this foo!!!

when the console output sez: "Will need at least 40.57G (43560695808)
space available in /home/cgn/tmp/ " that should not be a problem
whatsoever....there's 10x there available...

cgn at maps:~/tmp$ pwd
/home/cgn/tmp
cgn at maps:~/tmp$ df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1            470148268  84561668 361704376  19% /
cgn at maps:~/tmp$

So here's my region - the island of Hispanola, in UTM, using 30m ASTER
DEMs... (all this is just a warm-up for the inevitable hurricane and
subsequent flooding...)

projection: 1 (UTM)
south:      1879551.69903301
east:       1246672.22364716
ewres:      29.67282656
rows:       15456
cols:       25164
cells:      388934784
nsres:      29.67282656
west:       499985.21620627
zone:       0
datum:      wgs84
ellipsoid:  a=6378137 es=0.006694379990141316
north:      2338174.90627377
----------------------------------------------------------------
here's the command-line shtuff:

GRASS 6.4.0RC5 (Haiti):~/public_html/maps/Haiti > r.terraflow
elevation=DEM at OCHA filled=flooded direction=flow_direction
swatershed=sink_watershed accumulation=flow_accum
tci=topo_convergence_index d8cut=infinity memory=1000
STREAM_DIR=/home/cgn/tmp/ stats=stats.out --overwrite memory=1200
WARNING: raster DEM is of type CELL_TYPE --you should use r.terraflow.short
STREAM temporary files in /home/cgn/tmp/  (THESE INTERMEDIATE STREAMS WILL
NOT BE DELETED IN CASE OF ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE
SPACE PLEASE DELETE THESE FILES MANUALLY!)
file stats.out exists - renaming.
MFD flow direction
D8CUT=999999986991104.000000
Memory size: 1000.00M (1048576000) bytes
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
total elements=388934784, nodata elements=303543501
largest temporary files:
FILL: 20.28G (21780347904) [388934784 elements, 56B each]
FLOW: 6.36G (6831302640) [85391283 elements, 80B each]
Will need at least 40.57G (43560695808) space available in /home/cgn/tmp/
------------------------------
COMPUTING FLOW DIRECTIONS
classifying nodata (inner & boundary)
file=/home/cgn/tmp//STREAM_5Xwb5K:cannot read!: Bad address
r.terraflow:
/home/cgn/src/grass-6.4.0RC5/dist.i686-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:91:
size_t makeRun_Block(AMI_STREAM<T>*, T*, unsigned int, Compare*) [with T =
keyvalue<int>, Compare = keyCmpKeyvalueType<int>]: Assertion `err ==
AMI_ERROR_NO_ERROR || err == AMI_ERROR_END_OF_STREAM' failed.
Aborted (core dumped)
[Raster MASK present]
GRASS 6.4.0RC5 (Haiti):~/public_html/maps/Haiti >





More information about the grass-dev mailing list