[GRASS-dev] multi-threaded r.mapcalc

Markus Neteler neteler at osgeo.org
Sun Feb 8 06:15:59 EST 2009


On Fri, Jan 9, 2009 at 5:51 PM, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> 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.

Markus


More information about the grass-dev mailing list