[GRASS-dev] terracost and large files more generally

Jerry Nelson gnelson at uiuc.edu
Mon Apr 9 18:16:47 EDT 2007


Thanks for this! I downloaded and recompiled (after a make clean) and it
seems to have worked fine. I also needed this for r.in.arc. I put the code
modifications you made into that make file and it also seems to have worked
fine. I was wondering whether you (plural, ie someone on the development
team) could drop those three lines of code into all the related routines. I
would think they are 

r.out.arc
r.in.arc
r.out.ascii
r.in.ascii

others?

Thanks, Jerry

-----Original Message-----
From: Glynn Clements [mailto:glynn at gclements.plus.com] 
Sent: Saturday, April 07, 2007 9:58 AM
To: Gerald Nelson
Cc: grass-dev at grass.itc.it
Subject: Re: [GRASS-dev] terracost and large files more generally


Gerald Nelson wrote:

> - file size limitations issues. I'm bumping up against a 2 gb limit in
> r.out.arc. We're using grass6.3, compiled with large file support and
> we can't export files that would be larger than 2 gb. My postdoc (who
> knows java but not C) and I looked at the source code for r.out.arc
> and couldn't see any obvious reason why there would be a size limit.

The --enable-largefile configure option only enables LFS on code which
specifically chooses to use it. As r.out.arc only performs sequential
output, it's safe to enable LFS, so I've modified the Makefile to
enable it.

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




More information about the grass-dev mailing list