[GRASS-user] Multithreading in GRASS 6.4

Saber Razmjooei razmjooeis at faunalia.co.uk
Sun Feb 13 03:02:40 EST 2011

I haven't done it for 6.4 but tried it in 7.0

You can follow the instruction on compiling grass here:

Once you have all the prerequisite, you can set the environment
CFLAGS="-O3 -Wall -Werror-implicit-function-declaration -fno-common

and then compile grass.


On Wed, 2010-12-29 at 16:03 -0800, LeeDaniel wrote:

> Hello,
> I'm trying to use multithreading in GRASS 6.4 in OpenSUSE 64-bit installed
> from the community repository and am wondering what the best way would be to
> set my script. What I'm wanting to do is several r.sun analyses parallel to
> one another using a Python script. I've read the wiki page about OpenMP at
> http://grass.osgeo.org/wiki/OpenMP#Multithreaded_jobs_in_GRASS but don't
> quite understand it - it seems that I can activate multithreading
> capabilities in GRASS by modifying /lib/gpde/Makefile but I don't have that
> file. I also wasn't able to find a whole lot of information about it that I
> could understand - I meet the requirement listed at
> http://grass.osgeo.org/programming6/gpdelib.html of having a compiler that
> supports OpenMP (I've got gcc 4.5), but am unsure of how I should proceed.
> Does anyone have any tips?
> Happy New Year's and thanks a bunch in advance!
> Daniel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110213/56847d2d/attachment.html

More information about the grass-user mailing list