[GRASS-dev] multi-threaded r.mapcalc

Glynn Clements glynn at gclements.plus.com
Sun Feb 8 11:42:37 EST 2009


Markus Neteler wrote:

> >> > I have added experimental multi-threading support to r.mapcalc in 7.0
> >> > (r34440). It isn't enabled by default; to enable it, use
> >> > "make USE_PTHREAD=1". It only uses a handful of pthread functions, so
> >> > there's a reasonable chance of it working on MacOSX and/or Windows
> >> > (with the pthread-win32 library).
> >> >
> >> > You can change the number of worker threads by setting the WORKERS
> >> > environment variable.
> ...
> > r.shaded.relief seems to have the most complex r.mapcalc expression of
> > any of the supplied scripts.
> 
> Currently r.shaded.relief fails in GRASS 7 (I wanted to compare
> timings to GRASS 6):
> 
> GRASS 7.0.svn (nc_spm_07):~/grass70 > r.shaded.relief elevation
> Calculating shading, please stand by.
> syntax error, unexpected ')'
> ERROR: In calculation, script aborted.

Fixed in r35814.

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


More information about the grass-dev mailing list