add --with-openmp support to ./configure
|Reported by:||hamish||Owned by:|
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.