[GRASS-dev] [GRASS GIS] #657: add --with-openmp support to ./configure

Markus Neteler neteler at osgeo.org
Fri Jul 3 17:17:20 EDT 2009


+1 also from me. A useful extention to configure.
And harmless.

Markus

On Sat, Jun 20, 2009 at 2:10 PM, Yann Chemin<yann.chemin at gmail.com> wrote:
> +1
>
> I have found simple data parallelism being beneficial for satellite
> imagery processing (like Landsat) even with a simple dual core.
>
> Yann
>
> 2009/6/20 GRASS GIS <trac at osgeo.org>:
>> #657: add --with-openmp support to ./configure
>> -----------------------+----------------------------------------------------
>>  Reporter:  hamish     |       Owner:  grass-dev at lists.osgeo.org
>>     Type:  task       |      Status:  new
>>  Priority:  normal     |   Milestone:  7.0.0
>> Component:  Compiling  |     Version:  svn-trunk
>>  Keywords:  openmp     |    Platform:  All
>>      Cpu:  All        |
>> -----------------------+----------------------------------------------------
>>  Hi,
>>
>>  lib/gpde already supports OpenMP (but requires Makefile hacks to enable)
>>  and hopefully v.lidar's tcholDec() will support OpenMP soon as well, so it
>>  would be nice if ./configure could do checks & sets for --with-openmp as
>>  well as --with-pthread. It would mean we have two ways of parallelizing
>>  stuff, which is sort of redundant, but maybe each can be used to its own
>>  strength? i.e. we have a large enough array of algorithms in the modules
>>  so that some will be both well and poorly suited to either method.
>>
>>  see also http://grass.osgeo.org/wiki/OpenMP
>>
>>  my philosophy would be to only add it to known bottlenecks, ie fight the
>>  urge to add it to every for loop just because it may be possible to do so.
>>  Hit the low hanging fruit and leave the rest of the code stable.
>>
>>  also it would be good to add some Doxygen documentation to
>>  lib/gis/worker.c for educational purposes.
>>
>>
>>  thanks,
>>  Hamish
>>
>> --
>> Ticket URL: <https://trac.osgeo.org/grass/ticket/657>
>> GRASS GIS <http://grass.osgeo.org>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>
>
>
> --
> Yann Chemin
> Mobile: +33 (06) 10 11 39 26
> Home: +33 (02) 35 27 08 20,
> Address: Gite de Mortagne,
> 16 rue de la chenaie,
> 76110 Bec de Mortagne,
> France
>
> Perso: http://www.freewebs.com/ychemin
> YiKingDo: http://yikingdo.unblog.fr/
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>


More information about the grass-dev mailing list