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

GRASS GIS trac at osgeo.org
Fri Jun 19 22:39:08 EDT 2009


#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>


More information about the grass-dev mailing list