Re: ParallelModuleQueue freezes...
Stefan Blumentrath <[email protected]> Sun, 30 May 2021 19:27:05 +0000
| Newsgroups | gmane.comp.gis.grass.devel |
|---|---|
| Message-ID | <VI1PR02MB5038D996FCD1E173559CE6C79E209@VI1PR02MB5038.eurprd02.prod.outlook.com> |
--===============5045461438039198417== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_VI1PR02MB5038D996FCD1E173559CE6C79E209VI1PR02MB5038eurp_" --_000_VI1PR02MB5038D996FCD1E173559CE6C79E209VI1PR02MB5038eurp_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi Anna, Thanks for clarification. Would be great if you could backport #1407. I don`t know if the PR depends = on others... But if it is safe to backport just this one, I could do that too of course. In core, MultiModule is used just in t.rast.neighbors, it seems. And that m= odule thus does not work in GRASS 7.8 right now. So the current state can b= e considered a bug... Would be great if it would be possible to get that into 7.8.6 somehow, even= if there is already a RC. I am about to finish a new AddOn, where I would = like to use the combination of MultiModule and ParallelModuleQueue. The dev= elopment version of GRASS will not be available in the production environme= nt in my institute for quite some time, so I would have to wait for some mo= nth to use the addon... Cheers, Stefan From: Anna Petr=E1=B9ov=E1 <[email protected]> Sent: fredag 28. mai 2021 16:36 To: Stefan Blumentrath <[email protected]> Cc: Luca Delucchi <[email protected]>; GRASS developers list <grass-dev@= lists.osgeo.org> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes... On Fri, May 28, 2021 at 10:02 AM Stefan Blumentrath <Stefan.Blumentrath@nin= a.no<mailto:[email protected]>> wrote: Some more context. The t.rast.neighbors test seems to work with the current dev version "2048e1016" from 2021-05-19T09:38:49+00:00 It fails however, with 7.8.5 from 2020-12-22T15:55:09+00:00 and an older de= velopment version "35edbf7dc" from 2020-06-03T16:03:52+00:00 So, maybe one or more of the recent changes need backporting? https://github.com/OSGeo/grass/commits/master/python/grass/pygrass/modules/= interface/module.py<https://eur01.safelinks.protection.outlook.com/?url=3Dh= ttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fcommits%2Fmaster%2Fpython%2Fgrass= %2Fpygrass%2Fmodules%2Finterface%2Fmodule.py&data=3D04%7C01%7C%7C8fb6cc6211= 854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C6375780= 93904701621%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJ= BTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DHYHd7YUo5l9wQD%2Fdooe3zC%2BYCd%2= BL%2B3WRMbX5OeCjI5U%3D&reserved=3D0> This one: https://github.com/OSGeo/grass/pull/1407<https://eur01.safelinks.protection= .outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1407&= data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef3730213149018310= 55b3abf02c73%7C0%7C0%7C637578093904711618%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiM= C4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DSO= 3%2FOC9wbs1WXlumRUJYpqn0r5i3LfMcGxk7STcpPII%3D&reserved=3D0> The reason I didn't backport it was there has been a small change in API to= make it work. But Python3 support is probably a good reason to backport it= . In the 7_8 release branch, the latest change is from May 2019: https://github.com/OSGeo/grass/commits/releasebranch_7_8/lib/python/pygrass= /modules/interface/module.py<https://eur01.safelinks.protection.outlook.com= /?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fcommits%2Freleasebranch_= 7_8%2Flib%2Fpython%2Fpygrass%2Fmodules%2Finterface%2Fmodule.py&data=3D04%7C= 01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73= %7C0%7C0%7C637578093904711618%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL= CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3Dpm4%2BxQc8G9FS= laad%2FsXEBzKwhs4lxC%2BXSvRWLRqsjWg%3D&reserved=3D0> Hope that helps identifying a solution? Cheers Stefan -----Original Message----- From: Stefan Blumentrath <[email protected]<mailto:Stefan.Blumentr= [email protected]>> Sent: torsdag 27. mai 2021 23:09 To: Stefan Blumentrath <[email protected]<mailto:Stefan.Blumentrat= [email protected]>>; Luca Delucchi <[email protected]<mailto:[email protected]= m>>; Anna Petr=E1=B9ov=E1 <[email protected]<mailto:[email protected]= om>> Cc: GRASS developers list <[email protected]<mailto:grass-dev@lists= .osgeo.org>> Subject: RE: [GRASS-dev] ParallelModuleQueue freezes... See: https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.= com%2FOSGeo%2Fgrass%2Fpull%2F1600&data=3D04%7C01%7C%7Cc5fe909715a647431= c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C63757746565304= 8701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik= 1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D5yfxG5gjlYlzgJn6yTP9zbUk7GE1JdcYPxW= IQFwUK%2Fo%3D&reserved=3D0<https://eur01.safelinks.protection.outlook.c= om/?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1600&data=3D04%= 7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c= 73%7C0%7C0%7C637578093904721611%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDA= iLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DKw1pcn3mIlEK= 8hRS70B966zqhgpud9cB3bcKA2KmRwI%3D&reserved=3D0> Please test. Unittests for t.rast.neighbors should work again with this small change... -----Original Message----- From: grass-dev <[email protected]<mailto:grass-dev-bounces= @lists.osgeo.org>> On Behalf Of Stefan Blumentrath Sent: torsdag 27. mai 2021 08:19 To: Luca Delucchi <[email protected]<mailto:[email protected]>>; Anna= Petr=E1=B9ov=E1 <[email protected]<mailto:[email protected]>> Cc: GRASS developers list <[email protected]<mailto:grass-dev@lists= .osgeo.org>> 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&data=3D04%7C01%7C%7Cc5fe909715a647431c9308d92153b445= %7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%= 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6M= n0%3D%7C1000&sdata=3D5QyN%2FR1cXgoWWGS2lgjKi8%2BeLX77w37bfMQzcP6O4bM%3D= &reserved=3D0<https://eur01.safelinks.protection.outlook.com/?url=3Dhtt= ps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.n= eighbors%2Ft.rast.neighbors.py&data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d9= 21e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904721611%7C= Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiL= CJXVCI6Mn0%3D%7C1000&sdata=3D9m2VxOc8E%2B3VYEO%2BUo76zmi8dJP%2By1aJOplRlcQH= E9w%3D&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&data=3D04%7C01%7C%7Cc5fe909715a647431c9308d92153= b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnkn= own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV= CI6Mn0%3D%7C1000&sdata=3DnQTdDIGmefI6F37zdjhyMDBYUrIxVaC%2FiA5FzeUK2KU%= 3D&reserved=3D0<https://eur01.safelinks.protection.outlook.com/?url=3Dh= ttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast= .neighbors%2Ftestsuite%2Ftest_neighbors.py&data=3D04%7C01%7C%7C8fb6cc621185= 4d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093= 904731607%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT= iI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D%2Fp6TEIL8K5hk%2B2GXqK4eYRJohbS0ur= zuwqqHAW0p5v0%3D&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]<mailto:[email protected]>> Sent: torsdag 27. mai 2021 06:07 To: Anna Petr=E1=B9ov=E1 <[email protected]<mailto:[email protected]= m>> Cc: Stefan Blumentrath <[email protected]<mailto:Stefan.Blumentrat= [email protected]>>; GRASS developers list <[email protected]<mailto:grass-= [email protected]>> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes... On Thu, 27 May 2021 at 04:07, Anna Petr=E1=B9ov=E1 <[email protected]<m= ailto:[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&data=3D04%7C01%7C%7Cc5f= e909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C= 637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu= MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DKT5h55J89LLXhK7uEujAm= IwfksjPGyXEy2u7gYIc2Ns%3D&reserved=3D0<https://eur01.safelinks.protecti= on.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Fpul= l%2F523%2Ffiles&data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef= 373021314901831055b3abf02c73%7C0%7C0%7C637578093904731607%7CUnknown%7CTWFpb= GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7= C1000&sdata=3DE599W%2Fe7tP3FeODqu5U74aoUlR3miVrIev5CmefwNrg%3D&reserved=3D0= > line 544, the commented lines are not working for me.. If you want to try t.vi<https://eur01.safelinks.protection.outlook.com/?url= =3Dhttp%3A%2F%2Ft.vi%2F&data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6= e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904741601%7CUnknown= %7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6= Mn0%3D%7C1000&sdata=3DtYSyPA80Tdemea1q%2BI9vdviTm%2BawnMOADfQaton3o0A%3D&re= served=3D0> just comment line 543 and uncomment the following lines.. > Anna > -- ciao Luca https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.luca= delu.org%2F&data=3D04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef= 373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpb= GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7= C1000&sdata=3DhM8CpSgjw7SFjGKxM9SFfWI3G8U3nr8eeCqedZORdso%3D&reserv= ed=3D0<https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fw= ww.lucadelu.org%2F&data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6= cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904751599%7CUnknown%7CTW= FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3= D%7C1000&sdata=3DQoJKaET2VizmUlzygcEl3cpapqheK1Y8yJUbVIP%2Fupk%3D&reserved= =3D0> _______________________________________________ grass-dev mailing list [email protected]<mailto:[email protected]> https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.o= sgeo.org%2Fmailman%2Flistinfo%2Fgrass-dev&data=3D04%7C01%7C%7Cc5fe90971= 5a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577= 465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC= JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DIwP5QxiLzELTGrr393lqAWrlWRh= BVg%2FbOhrz9lBHMkw%3D&reserved=3D0<https://eur01.safelinks.protection.o= utlook.com/?url=3Dhttps%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgras= s-dev&data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef3730213149= 01831055b3abf02c73%7C0%7C0%7C637578093904751599%7CUnknown%7CTWFpbGZsb3d8eyJ= WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdat= a=3DVTqN8LRYcDOnA3VS%2B%2B3lKKvG6A2XDDp%2Bdbusc407V2c%3D&reserved=3D0> --_000_VI1PR02MB5038D996FCD1E173559CE6C79E209VI1PR02MB5038eurp_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 2"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"NO-BOK" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:bre= ak-word"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">Hi Anna,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">Thanks for clarification.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">Would be great if you could backport #1407. I don`t know if the PR de= pends on others…<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">But if it is safe to backport just this one, I could do that too of c= ourse.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">In core, MultiModule is used just in t.rast.neighbors, it seems. And = that module thus does not work in GRASS 7.8 right now. So the current state= can be considered a bug…<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">Would be great if it would be possible to get that into 7.8.6 somehow= , even if there is already a RC. I am about to finish a new AddOn, where I = would like to use the combination of MultiModule and ParallelModuleQueue. The development version of GRASS will not be avai= lable in the production environment in my institute for quite some time, so= I would have to wait for some month to use the addon…<o:p></o:p></sp= an></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">Cheers,<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US">Stefan<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E= N-US"><o:p> </o:p></span></p> <div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"EN-US">From:</span></b><span lang= =3D"EN-US"> Anna Petr=E1=B9ov=E1 <[email protected]> <br> <b>Sent:</b> fredag 28. mai 2021 16:36<br> <b>To:</b> Stefan Blumentrath <[email protected]><br> <b>Cc:</b> Luca Delucchi <[email protected]>; GRASS developers lis= t <[email protected]><br> <b>Subject:</b> Re: [GRASS-dev] ParallelModuleQueue freezes...<o:p></o:p></= span></p> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <div> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <div> <div> <p class=3D"MsoNormal">On Fri, May 28, 2021 at 10:02 AM Stefan Blumentrath = <<a href=3D"mailto:[email protected]">[email protected]= o</a>> wrote:<o:p></o:p></p> </div> <blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c= m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"> <p class=3D"MsoNormal">Some more context.<br> The t.rast.neighbors test seems to work with the current dev version<br> "2048e1016" from 2021-05-19T09:38:49+00:00<br> It fails however, with 7.8.5 from 2020-12-22T15:55:09+00:00 and an older de= velopment version "35edbf7dc"<br> from 2020-06-03T16:03:52+00:00<br> <br> So, maybe one or more of the recent changes need backporting?<br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Fgithub.com%2FOSGeo%2Fgrass%2Fcommits%2Fmaster%2Fpython%2Fgrass%2Fpygras= s%2Fmodules%2Finterface%2Fmodule.py&data=3D04%7C01%7C%7C8fb6cc6211854d8= 631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904= 701621%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6= Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DHYHd7YUo5l9wQD%2Fdooe3zC%2BYCd%2B= L%2B3WRMbX5OeCjI5U%3D&reserved=3D0" target=3D"_blank">https://github.co= m/OSGeo/grass/commits/master/python/grass/pygrass/modules/interface/module.= py</a><o:p></o:p></p> </blockquote> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">This one:<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><a href=3D"https://eur01.safelinks.protection.outloo= k.com/?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1407&dat= a=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef373021314901831055b= 3abf02c73%7C0%7C0%7C637578093904711618%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w= LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DS= O3%2FOC9wbs1WXlumRUJYpqn0r5i3LfMcGxk7STcpPII%3D&reserved=3D0">https://g= ithub.com/OSGeo/grass/pull/1407</a><o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <p class=3D"MsoNormal">The reason I didn't backport it was there has b= een a small change in API to make it work. But Python3 support is prob= ably a good reason to backport it.<o:p></o:p></p> </div> <div> <p class=3D"MsoNormal"> <o:p></o:p></p> </div> <blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c= m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"> <p class=3D"MsoNormal"><br> <br> In the 7_8 release branch, the latest change is from May 2019:<br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Fgithub.com%2FOSGeo%2Fgrass%2Fcommits%2Freleasebranch_7_8%2Flib%2Fpython= %2Fpygrass%2Fmodules%2Finterface%2Fmodule.py&data=3D04%7C01%7C%7C8fb6cc= 6211854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637= 578093904711618%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzI= iLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3Dpm4%2BxQc8G9FSlaad%2FsXE= BzKwhs4lxC%2BXSvRWLRqsjWg%3D&reserved=3D0" target=3D"_blank">https://gi= thub.com/OSGeo/grass/commits/releasebranch_7_8/lib/python/pygrass/modules/i= nterface/module.py</a><br> <br> Hope that helps identifying a solution?<br> <br> Cheers<br> Stefan<br> <br> -----Original Message-----<br> From: Stefan Blumentrath <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> <br> Sent: torsdag 27. mai 2021 23:09<br> To: Stefan Blumentrath <<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>>; Luca Delucchi <<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</= a>>; Anna Petr=E1=B9ov=E1 <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>><br> Cc: GRASS developers list <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>><br> Subject: RE: [GRASS-dev] ParallelModuleQueue freezes...<br> <br> See:<br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Fgithub.com%2FOSGeo%2Fgrass%2Fpull%2F1600&data=3D04%7C01%7C%7C8fb6cc= 6211854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637= 578093904721611%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzI= iLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DKw1pcn3mIlEK8hRS70B966zq= hgpud9cB3bcKA2KmRwI%3D&reserved=3D0" target=3D"_blank">https://eur01.sa= felinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgr= ass%2Fpull%2F1600&amp;data=3D04%7C01%7C%7Cc5fe909715a647431c9308d92153b= 445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnkno= wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC= I6Mn0%3D%7C1000&amp;sdata=3D5yfxG5gjlYlzgJn6yTP9zbUk7GE1JdcYPxWIQFwUK%2= Fo%3D&amp;reserved=3D0</a><br> Please test.<br> Unittests for t.rast.neighbors should work again with this small change...<= br> <br> -----Original Message-----<br> From: grass-dev <<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>> On Behalf Of Stef= an Blumentrath<br> Sent: torsdag 27. mai 2021 08:19<br> To: Luca Delucchi <<a href=3D"mailto:[email protected]" target=3D"_bl= ank">[email protected]</a>>; Anna Petr=E1=B9ov=E1 <<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a>><b= r> Cc: GRASS developers list <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>><br> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...<br> <br> The combination ParallelModuleQueue and MultiModule is used in t.rast.neigh= bors: <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttp= s%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.ne= ighbors%2Ft.rast.neighbors.py&data=3D04%7C01%7C%7C8fb6cc6211854d8631f70= 8d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904721611= %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW= wiLCJXVCI6Mn0%3D%7C1000&sdata=3D9m2VxOc8E%2B3VYEO%2BUo76zmi8dJP%2By1aJO= plRlcQHE9w%3D&reserved=3D0" target=3D"_blank"> https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.= com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ft.rast.= neighbors.py&amp;data=3D04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7= C6cef373021314901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7C= TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0= %3D%7C1000&amp;sdata=3D5QyN%2FR1cXgoWWGS2lgjKi8%2BeLX77w37bfMQzcP6O4bM%= 3D&amp;reserved=3D0</a><br> <br> The testsuite of that module is deactivated for Python > 2.<br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Fgithub.com%2FOSGeo%2Fgrass%2Fblob%2Fmaster%2Ftemporal%2Ft.rast.neighbor= s%2Ftestsuite%2Ftest_neighbors.py&data=3D04%7C01%7C%7C8fb6cc6211854d863= 1f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C63757809390473= 1607%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik= 1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D%2Fp6TEIL8K5hk%2B2GXqK4eYRJohbS0urz= uwqqHAW0p5v0%3D&reserved=3D0" target=3D"_blank">https://eur01.safelinks= .protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.com%2FOSGeo%2Fgrass%2Fb= lob%2Fmaster%2Ftemporal%2Ft.rast.neighbors%2Ftestsuite%2Ftest_neighbors.py&= amp;amp;data=3D04%7C01%7C%7Cc5fe909715a647431c9308d92153b445%7C6cef37302131= 4901831055b3abf02c73%7C0%7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8e= yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&am= p;amp;sdata=3DnQTdDIGmefI6F37zdjhyMDBYUrIxVaC%2FiA5FzeUK2KU%3D&amp;rese= rved=3D0</a><br> <br> If you activate it by commenting out line 15. You will see the behavior...<= br> <br> Thanks for looking into this!<br> <br> Cheers<br> Stefan<br> <br> <br> -----Original Message-----<br> From: Luca Delucchi <<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>> <br> Sent: torsdag 27. mai 2021 06:07<br> To: Anna Petr=E1=B9ov=E1 <<a href=3D"mailto:[email protected]" targe= t=3D"_blank">[email protected]</a>><br> Cc: Stefan Blumentrath <<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>>; GRASS developers list &= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">grass-dev= @lists.osgeo.org</a>><br> Subject: Re: [GRASS-dev] ParallelModuleQueue freezes...<br> <br> On Thu, 27 May 2021 at 04:07, Anna Petr=E1=B9ov=E1 <<a href=3D"mailto:kr= [email protected]" target=3D"_blank">[email protected]</a>> wrote:= <br> ><br> > 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.<br> ><br> <br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Fgithub.com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&data=3D04%7C= 01%7C%7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73= %7C0%7C0%7C637578093904731607%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL= CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DE599W%2Fe7= tP3FeODqu5U74aoUlR3miVrIev5CmefwNrg%3D&reserved=3D0" target=3D"_blank">= https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.= com%2FOSGeo%2Fgrass-addons%2Fpull%2F523%2Ffiles&amp;data=3D04%7C01%7C%7= Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C= 0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi= V2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3DKT5h55J89LLXh= K7uEujAmIwfksjPGyXEy2u7gYIc2Ns%3D&amp;reserved=3D0</a> line 544, the commented lines are not working for me..<br> If you want to try <a href=3D"https://eur01.safelinks.protection.outlook.co= m/?url=3Dhttp%3A%2F%2Ft.vi%2F&data=3D04%7C01%7C%7C8fb6cc6211854d8631f70= 8d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904741601= %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW= wiLCJXVCI6Mn0%3D%7C1000&sdata=3DtYSyPA80Tdemea1q%2BI9vdviTm%2BawnMOADfQ= aton3o0A%3D&reserved=3D0" target=3D"_blank"> t.vi</a> just comment line 543 and uncomment the following lines..<br> <br> > Anna<br> ><br> <br> --<br> ciao<br> Luca<br> <br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F= %2Fwww.lucadelu.org%2F&data=3D04%7C01%7C%7C8fb6cc6211854d8631f708d921e5= fa6e%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637578093904751599%7CUnkn= own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXV= CI6Mn0%3D%7C1000&sdata=3DQoJKaET2VizmUlzygcEl3cpapqheK1Y8yJUbVIP%2Fupk%= 3D&reserved=3D0" target=3D"_blank">https://eur01.safelinks.protection.o= utlook.com/?url=3Dhttp%3A%2F%2Fwww.lucadelu.org%2F&amp;data=3D04%7C01%7= C%7Cc5fe909715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0= %7C0%7C637577465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI= joiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3DhM8CpSgjw7= SFjGKxM9SFfWI3G8U3nr8eeCqedZORdso%3D&amp;reserved=3D0</a><br> _______________________________________________<br> grass-dev mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">grass-dev@li= sts.osgeo.org</a><br> <a href=3D"https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2= F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-dev&data=3D04%7C01%7C%= 7C8fb6cc6211854d8631f708d921e5fa6e%7C6cef373021314901831055b3abf02c73%7C0%7= C0%7C637578093904751599%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo= iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3DVTqN8LRYcDOnA3VS= %2B%2B3lKKvG6A2XDDp%2Bdbusc407V2c%3D&reserved=3D0" target=3D"_blank">ht= tps://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Flists.osg= eo.org%2Fmailman%2Flistinfo%2Fgrass-dev&amp;data=3D04%7C01%7C%7Cc5fe909= 715a647431c9308d92153b445%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C6375= 77465653048701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi= LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3DIwP5QxiLzELTGrr393lqA= WrlWRhBVg%2FbOhrz9lBHMkw%3D&amp;reserved=3D0</a><o:p></o:p></p> </blockquote> </div> </div> </div> </body> </html> --_000_VI1PR02MB5038D996FCD1E173559CE6C79E209VI1PR02MB5038eurp_-- --===============5045461438039198417== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev --===============5045461438039198417==--