[GRASS-dev] Fixing r.li

Markus Neteler neteler at osgeo.org
Tue Jan 26 08:48:04 EST 2010


On Tue, Jan 26, 2010 at 10:11 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> Markus Neteler wrote:
>
>> > Is anyone familiar with r.li?
>>
>> ... as a user ...
>>
>> > How easy would it be to get rid of the (Unix-specific) client-server
>> > framework so that the various r.li.* modules are just normal modules?
>>
>> The idea is to have multi-core support which works. If that
>> could be maintained (maybe switching to openMP), then
>> the advantageous speed of r.li over r.le would be maintained.
>
> The downside is that it doesn't even compile on Windows. It also
> creates a substantial hurdle for anyone needing to modify the code.
>
> Optimisations shouldn't be at the expense of portability. If it can't
> be compiled on all three of the major target platforms (generic Unix,
> MacOSX, Windows), it shouldn't be in the main repository but in
> add-ons.

I tend to agree.
But it is supported from gcc 4.2 onwards:
http://en.wikipedia.org/wiki/OpenMP

If the MinGW/MSys gcc isn't older, it should provide openMP.

Markus


More information about the grass-dev mailing list