Re: ParallelModuleQueue freezes...

Stefan Blumentrath <[email protected]> Thu, 27 May 2021 21:09:23 +0000
Newsgroups gmane.comp.gis.grass.devel
Message-ID <VI1PR02MB50386033DD9FB760C6F5F1CE9E239@VI1PR02MB5038.eurprd02.prod.outlook.com>
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 <[email protected]> On Behalf Of Stefan Blu=
mentrath
Sent: torsdag 27. mai 2021 08:19
To: Luca Delucchi <[email protected]>; Anna Petr=E1=B9ov=E1 <kratochanna=
@gmail.com>
Cc: GRASS developers list <[email protected]>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...

The combination ParallelModuleQueue and MultiModule is used in t.rast.neigh=
bors: https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fg=
ithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ft=
.rast.neighbors.py&amp;data=3D04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53=
%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588309077%7CUnknown%=
7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M=
n0%3D%7C1000&amp;sdata=3D2zjyEI5TAne19FgKv9vZo%2FcNG1SGP0KP7u0G%2FtQdC5Q%3D=
&amp;reserved=3D0

The testsuite of that module is deactivated for Python > 2.
https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.=
com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ftestsui=
te%2Ftest_neighbors.py&amp;data=3D04%7C01%7C%7C9ed002957eca4be47b7908d920d7=
5b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnkn=
own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV=
CI6Mn0%3D%7C1000&amp;sdata=3DjHctgXkjIEHaZ%2BHveeBo49RnOvzzB%2BRhWq7ri2PY59=
g%3D&amp;reserved=3D0

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 <[email protected]> =

Sent: torsdag 27. mai 2021 06:07
To: Anna Petr=E1=B9ov=E1 <[email protected]>
Cc: Stefan Blumentrath <[email protected]>; GRASS developers list =
<[email protected]>
Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...

On Thu, 27 May 2021 at 04:07, Anna Petr=E1=B9ov=E1 <[email protected]> =
wrote:
>
> Could you provide an example that is failing? The doctests are running fo=
r 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=3Dhttps%3A%2F%2Fgithub.=
com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&amp;data=3D04%7C01%7C%7C9ed=
002957eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C=
637576931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu=
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3De9%2FkUD2TLUp2AHji07w=
I56Q0pkF%2Bctld3qtTnsb9%2F34%3D&amp;reserved=3D0 line 544, the commented li=
nes are not working for me..
If you want to try t.vi just comment line 543 and uncomment the following l=
ines..

> Anna
>

--
ciao
Luca

https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.luca=
delu.org%2F&amp;data=3D04%7C01%7C%7C9ed002957eca4be47b7908d920d75b53%7C6cef=
373021314901831055b3abf02c73%7C0%7C0%7C637576931588319065%7CUnknown%7CTWFpb=
GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7=
C1000&amp;sdata=3DtgQKu%2BWrWIu2PDesyTQ41Hk%2Bp%2FOdeU3itdIrluTwwBA%3D&amp;=
reserved=3D0
_______________________________________________
grass-dev mailing list
[email protected]
https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.o=
sgeo.org%2Fmailman%2Flistinfo%2Fgrass-dev&amp;data=3D04%7C01%7C%7C9ed002957=
eca4be47b7908d920d75b53%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637576=
931588319065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC=
JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3DmN%2FeOFVJIQ8PZ2P6GEGM903s4=
4%2BHbcGpodK4yxPxwY4%3D&amp;reserved=3D0