[GRASS-dev] ParallelModuleQueue freezes...
Stefan Blumentrath
Stefan.Blumentrath at nina.no
Thu May 27 14:09:23 PDT 2021
See:
https://github.com/OSGeo/grass/pull/1600
Please test.
Unittests for t.rast.neighbors should work again with this small change...
-----Original Message-----
From: grass-dev <grass-dev-bounces at lists.osgeo.org> On Behalf Of Stefan Blumentrath
Sent: torsdag 27. mai 2021 08:19
To: Luca Delucchi <lucadeluge at gmail.com>; Anna Petrášová <kratochanna at gmail.com>
Cc: GRASS developers list <grass-dev at lists.osgeo.org>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...
The combination ParallelModuleQueue and MultiModule is used in t.rast.neighbors: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ft.rast.neighbors.py&data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588309077%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2zjyEI5TAne19FgKv9vZo%2FcNG1SGP0KP7u0G%2FtQdC5Q%3D&reserved=0
The testsuite of that module is deactivated for Python > 2.
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ftestsuite%2Ftest_neighbors.py&data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jHctgXkjIEHaZ%2BHveeBo49RnOvzzB%2BRhWq7ri2PY59g%3D&reserved=0
If you activate it by commenting out line 15. You will see the behavior...
Thanks for looking into this!
Cheers
Stefan
-----Original Message-----
From: Luca Delucchi <lucadeluge at gmail.com>
Sent: torsdag 27. mai 2021 06:07
To: Anna Petrášová <kratochanna at gmail.com>
Cc: Stefan Blumentrath <Stefan.Blumentrath at nina.no>; GRASS developers list <grass-dev at lists.osgeo.org>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...
On Thu, 27 May 2021 at 04:07, Anna Petrášová <kratochanna at gmail.com> wrote:
>
> Could you provide an example that is failing? The doctests are running for me. I spent some time fixing it a couple months ago. I use Python 3.6, I wonder if newer Python would cause some issues.
>
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=e9%2FkUD2TLUp2AHji07wI56Q0pkF%2Bctld3qtTnsb9%2F34%3D&reserved=0 line 544, the commented lines are not working for me..
If you want to try t.vi just comment line 543 and uncomment the following lines..
> Anna
>
--
ciao
Luca
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.lucadelu.org%2F&data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tgQKu%2BWrWIu2PDesyTQ41Hk%2Bp%2FOdeU3itdIrluTwwBA%3D&reserved=0
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-dev&data=04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mN%2FeOFVJIQ8PZ2P6GEGM903s44%2BHbcGpodK4yxPxwY4%3D&reserved=0
More information about the grass-dev
mailing list