<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Parallel processing disabled only when called from Python script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/parallel-processing-disabled-only-when-called-from/m-p/638551#M49793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Python script that builds tile packages from a set of .mxds.&amp;nbsp; I created this script last fall, and from the beginning it has always defaulted to using multiple cores (I have a four core machine).&amp;nbsp; The script runs in IDLE.&amp;nbsp; It would always say "Generating tile cache using 4 parallel instances."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Months later and I have to run this script again to generate new tile packages.&amp;nbsp; Now when I run the script it says "Parallel processing has been disabled for the tool on this product."&amp;nbsp; To the best of my knowledge I have not changed my ArcGIS configuration.&amp;nbsp; When I run the same process on the command line in ArcGIS it still says "Generating tile cache using 4 parallel instances."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So somewhere in the process of the script calling arcpy, the parallel processing is being denied.&amp;nbsp; I have half a dozen sets of tiles, and so now what used to take 8 hours is taking over a day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've scoured the internet, checked my scripts, checked the licensing for ArcGIS, talked to our network security team about McAfee possibly interfering with it, and I am stumped.&amp;nbsp; I even tried forcing the parallel processing by setting &lt;CODE&gt;&lt;SPAN class="pln"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;env&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;parallelProcessingFactor &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="str"&gt;"100%" &lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;but then the script errors out, saying "ExecuteError: ERROR 001493: The tool does not support parallel processing on this product."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running ArcGIS 10.2 and Python 2.7.3 on Win 7 Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;-------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Paul Cone&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Corporate GIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Bureau of Technology Services&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;City of Portland, Oregon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:paul.cone@portlandoregon.gov"&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;paul.cone@portlandoregon.gov&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 16:23:37 GMT</pubDate>
    <dc:creator>PaulCone</dc:creator>
    <dc:date>2015-03-10T16:23:37Z</dc:date>
    <item>
      <title>Parallel processing disabled only when called from Python script</title>
      <link>https://community.esri.com/t5/python-questions/parallel-processing-disabled-only-when-called-from/m-p/638551#M49793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Python script that builds tile packages from a set of .mxds.&amp;nbsp; I created this script last fall, and from the beginning it has always defaulted to using multiple cores (I have a four core machine).&amp;nbsp; The script runs in IDLE.&amp;nbsp; It would always say "Generating tile cache using 4 parallel instances."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Months later and I have to run this script again to generate new tile packages.&amp;nbsp; Now when I run the script it says "Parallel processing has been disabled for the tool on this product."&amp;nbsp; To the best of my knowledge I have not changed my ArcGIS configuration.&amp;nbsp; When I run the same process on the command line in ArcGIS it still says "Generating tile cache using 4 parallel instances."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So somewhere in the process of the script calling arcpy, the parallel processing is being denied.&amp;nbsp; I have half a dozen sets of tiles, and so now what used to take 8 hours is taking over a day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've scoured the internet, checked my scripts, checked the licensing for ArcGIS, talked to our network security team about McAfee possibly interfering with it, and I am stumped.&amp;nbsp; I even tried forcing the parallel processing by setting &lt;CODE&gt;&lt;SPAN class="pln"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;env&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;parallelProcessingFactor &lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln"&gt; &lt;/SPAN&gt;&lt;SPAN class="str"&gt;"100%" &lt;/SPAN&gt;&lt;SPAN class="pln"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;but then the script errors out, saying "ExecuteError: ERROR 001493: The tool does not support parallel processing on this product."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running ArcGIS 10.2 and Python 2.7.3 on Win 7 Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;-------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.0pt;"&gt;Paul Cone&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Corporate GIS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Bureau of Technology Services&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;City of Portland, Oregon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:paul.cone@portlandoregon.gov"&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;paul.cone@portlandoregon.gov&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 16:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parallel-processing-disabled-only-when-called-from/m-p/638551#M49793</guid>
      <dc:creator>PaulCone</dc:creator>
      <dc:date>2015-03-10T16:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel processing disabled only when called from Python script</title>
      <link>https://community.esri.com/t5/python-questions/parallel-processing-disabled-only-when-called-from/m-p/638552#M49794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After trying many things it was an uninstall and reinstall of ArcMap that fixed this.&amp;nbsp; Oy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 16:24:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/parallel-processing-disabled-only-when-called-from/m-p/638552#M49794</guid>
      <dc:creator>PaulCone</dc:creator>
      <dc:date>2015-03-26T16:24:34Z</dc:date>
    </item>
  </channel>
</rss>

