<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Lorenzo,</p>
<p><br>
</p>
<p><tt>I guess you would have to set the WORKERS</tt> environment variable to the number of concurrent processes you want to have, e.g.</p>
<p>export WORKERS=4</p>
<p>But again, I do not think that this is recommended! Developers would be able to tell you more...<br>
</p>
<p><br>
</p>
<p>Cheers</p>
<p>Stefan</p>
<p> <br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> Lorenzo Bottaccioli <lorenzo.bottaccioli@gmail.com><br>
<b>Gesendet:</b> Freitag, 11. März 2016 12:16<br>
<b>An:</b> Blumentrath, Stefan<br>
<b>Cc:</b> GRASS user list<br>
<b>Betreff:</b> Re: [GRASS-user] r.mapcalc multiprocess</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Stefan,<br>
<br>
I have just updated my grass-gis version to 7.0.3, berfore I was using 7.0.0 version and mapcalc was running in multitheard mode and was much faster. My question is how can i make it run again in multitheading? <br>
<br>
Regards,<br>
<br>
Lorenzo</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-03-10 22:39 GMT+01:00 Blumentrath, Stefan <span dir="ltr">
<<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="NO-BOK">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US">As far as I know it is not exactly recommended to compile with pthread, and if I recall the latest discussion correctly, the number of default
workers was deliberately set to 1 due to issues with multithreaded r.mapcalc.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US">Don`t know which was the latest discussion on this topic, but it has been discussed / explained in detail on the developer list, e.g.:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><a href="https://lists.osgeo.org/pipermail/grass-dev/2012-June/058749.html" target="_blank">https://lists.osgeo.org/pipermail/grass-dev/2012-June/058749.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><a href="https://lists.osgeo.org/pipermail/grass-dev/2008-November/041047.html" target="_blank">https://lists.osgeo.org/pipermail/grass-dev/2008-November/041047.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US">Hope that helps a bit.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US">Stefan
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US"> grass-user [mailto:<a href="mailto:grass-user-bounces@lists.osgeo.org" target="_blank">grass-user-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Lorenzo Bottaccioli<br>
<b>Sent:</b> 10. mars 2016 17:14<br>
<b>To:</b> GRASS user list <<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>><br>
<b>Subject:</b> [GRASS-user] r.mapcalc multiprocess<u></u><u></u></span></p>
<div>
<div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi every one,<br>
<br>
I have just compiled grass with phtreds but when I run r.mapcalc it runs in only with one theard. How ca I fix this? Is it possible to check if is correclty compiled with phtreads?<br>
<br>
Tnx<br>
<br>
Lorenzo<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>