[GRASS-user] grass + OpenMP
Soeren Gebbert
soerengebbert at googlemail.com
Thu Jun 2 17:56:36 EDT 2011
Hello Olavo,
2011/5/31 Olavo Borges D'Antonio <odantonio at aol.com>:
> Hello,
>
> I was looking for informations about grass and distributed computing and
> found a pdf on the subject. However I have a question:
>
> The Grass 6 has some modules that can be compiled with the OpenMP option,
> the other modules would have to be rebuild so they can run with this option?
Have a look at:
http://grass.osgeo.org/wiki/OpenMP
There are only a few modules using OpenMP (r.gwflow, r3.gwflow and
r.solute.transport). Parts of the gpde and gmath libraries in grass
6.5 and 7 are parallelized using OpenMP. These libraries provide tests
and benchmarks in the libraries test directories.
OpenMP is compiler dependent so specific compiler flags must be set.
Here a gcc grass compile example:
export CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration
-fno-common -fopenmp"
export LDFLAGS="-lgomp"
./configure --with-cxx --without-freetype --with-sqlite --with-python
--with-postgresql
Best regards
Soeren
>
> thanks,
> Olavo D'Antonio
>
> --
> http://www.monsterhuntercommunity.com/license/nynxs
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
More information about the grass-user
mailing list