Dear GRASS users,<br><br>I am running serveral task in GRASS in python scripts. Most of them involve for-loops, e.g. to<br>run various raster modules with different input. In the end all the result maps are mostly aggregated<br>
to one final map. Anyway the maps are generated during the loops in a serial process which takes quite some time.<br><br>Thus I thought one could pseudo-"parallelize" the python scripts. As I very unexperienced in this field I just<br>
read the wiki where it states that one could perform the single parts in own mapsets and then run the task in parallel.<br><br>I attached I short example python script which looks similar to ones I am using involving the r.cost module (one<br>
out of several others) which I run inside a for loop. I tried to understand the example in the wiki <br>(<a href="http://grass.osgeo.org/wiki/Parallelizing_Scripts#Python">http://grass.osgeo.org/wiki/Parallelizing_Scripts#Python</a>) but I can't transfer it to my task.<br>
<br>Maybe someone is more experienced than me and wants to help to improve the speed of such scripts if this<br>is generally possible (in GRASS 6). I think this can also be quite interesting to other users.<br><br>Best regards,<br>
<br>/Johannes<br>