ParallelModuleQueue freezes...

Stefan Blumentrath <[email protected]> Tue, 25 May 2021 12:32:59 +0000
Newsgroups gmane.comp.gis.grass.devel
Message-ID <VI1PR02MB50388CEDF1A9A91896E3F4AA9E259@VI1PR02MB5038.eurprd02.prod.outlook.com>
--===============6126684223367145977==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_VI1PR02MB50388CEDF1A9A91896E3F4AA9E259VI1PR02MB5038eurp_"

--_000_VI1PR02MB50388CEDF1A9A91896E3F4AA9E259VI1PR02MB5038eurp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Dear devs,

Currently, I am trying to run a combination of ParallelModuleQueue and Mult=
iModule as described here in GRASS 7.8:
https://grass.osgeo.org/grass79/manuals/libpython/pygrass.modules.interface=
.html?highlight=3Dparallel%20module%20qu#pygrass.modules.interface.module.P=
arallelModuleQueue

It seems - in contrast to the documentation - also the finish_=3D 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..=
.

Any ideas?

Cheers,
Stefan

--_000_VI1PR02MB50388CEDF1A9A91896E3F4AA9E259VI1PR02MB5038eurp_
Content-Type: text/html; charset="us-ascii"
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=3Dus-ascii"=
>
<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;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.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"#0563C1" vlink=3D"#954F72" style=3D"word-wrap=
:break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Dear devs,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Currently, I am trying to run a=
 combination of ParallelModuleQueue and MultiModule as described here in GR=
ASS 7.8:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><a href=3D"https://grass.osgeo.org/grass79/manuals/l=
ibpython/pygrass.modules.interface.html?highlight=3Dparallel%20module%20qu#=
pygrass.modules.interface.module.ParallelModuleQueue"><span lang=3D"EN-US">=
https://grass.osgeo.org/grass79/manuals/libpython/pygrass.modules.interface=
.html?highlight=3Dparallel%20module%20qu#pygrass.modules.interface.module.P=
arallelModuleQueue</span></a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">It seems &#8211; in contrast to=
 the documentation - also the finish_=3D parameter needs to be set to True =
for the modules to run.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">However, after finishing the qu=
eue, the script stalls and does not seem to get over queue.wait().<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Just to be clear, also the code=
 from the doc does not seem to work for me&#8230;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Any ideas?<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Cheers,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Stefan<o:p></o:p></span></p>
</div>
</body>
</html>

--_000_VI1PR02MB50388CEDF1A9A91896E3F4AA9E259VI1PR02MB5038eurp_--

--===============6126684223367145977==
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

--===============6126684223367145977==--