r.terraflow error - Re: Re: [GRASS-user] grass

Hi Laura,

due you have any clue about below error?

thanks
Markus

On Mon, Oct 20, 2008 at 7:35 PM, Tim Wade <wade.timothy@epa.gov> wrote:

I am getting the exact same error. Windows XP, SP2 and Grass 6.3. 4GB memory.
2147 rows, 1984 columns. All I did was add the raster, draw it and try and
run terraflow,
both MFD and SFD give the same error.

Thanks for any help

On Tue, 2008-08-26 at 16:09 +0200, Christian Herold wrote:

Assertion failed: nrows * ncols == str->stream_len(), file
grass2str.h,
line 144

Any suggestions?

Yes: tell us which GRASS version and which operating system...

Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________

--
View this message in context: http://www.nabble.com/Re%3A-grass-tp19217641p19974001.html
Sent from the Grass - Users mailing list archive at Nabble.com.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/

Markus Neteler wrote:

due you have any clue about below error?

> I am getting the exact same error. Windows XP, SP2 and Grass 6.3. 4GB memory.
> 2147 rows, 1984 columns. All I did was add the raster, draw it and try and
> run terraflow,
> both MFD and SFD give the same error.

>>>>> Assertion failed: nrows * ncols == str->stream_len(), file
>>>>> grass2str.h,
>>>>> line 144

It might be an EOL issue.

In 6.x, r.terraflow/Makefile has its own linking rules, and they don't
include $(FMODE_OBJ). The file is opened with open() followed by
fdopen(). The fdopen() has the "b" modifier, but I don't know if that
works for fdopen() (the MSDN documentation implies that it should, but
that may just be because the fopen() documentation was copied
verbatim).

In 7.0, r.terraflow uses the normal linking rules from Compile.make
(the trade-off is that it doesn't build the "short" version, only the
"float" version).

--
Glynn Clements <glynn@gclements.plus.com>