[GRASS-dev] ParallelModuleQueue freezes...

Markus Neteler neteler at osgeo.org
Tue May 25 11:16:37 PDT 2021


Hi Stefan,

On Tue, May 25, 2021 at 2:33 PM Stefan Blumentrath
<Stefan.Blumentrath at nina.no> wrote:
>
> Dear devs,
>
>
>
> Currently, I am trying to run a combination of ParallelModuleQueue and MultiModule as described here in GRASS 7.8:
>
> https://grass.osgeo.org/grass79/manuals/libpython/pygrass.modules.interface.html?highlight=parallel%20module%20qu#pygrass.modules.interface.module.ParallelModuleQueue
>
> It seems – in contrast to the documentation - also the finish_= parameter needs to be set to True for the modules to run.
>
> However, after finishing the queue, the script stalls and does not seem to get over queue.wait().
>
> Just to be clear, also the code from the doc does not seem to work for me…

While I have no direct recommendation you may want to check the
working code here, in the addons:
- t.rast.mosaic
- t.sentinel.import
- t.sentinel.mask
- t.rast.resample

See: https://github.com/search?q=org%3Amundialis+ParallelModuleQueue&type=code

Best,
Markus


More information about the grass-dev mailing list