<?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 Re: crash when calling PARDISO in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875454#M3142</link>
    <description>&lt;P&gt;Hi Jim,&lt;/P&gt;
&lt;P&gt;Thank you very much for your reply.It just caused by a large stack size set in the project.ButI am stillnot very clear that whythe error message alwaysappears if I call the solver, no matter whether I specified /Qopenmp or not. &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Zhanghong Tang&lt;/P&gt;</description>
    <pubDate>Thu, 22 Mar 2007 15:58:15 GMT</pubDate>
    <dc:creator>Zhanghong_T_</dc:creator>
    <dc:date>2007-03-22T15:58:15Z</dc:date>
    <item>
      <title>crash when calling PARDISO</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875452#M3140</link>
      <description>&lt;DIV class="ForumPostContentText" id="_ctl0__ctl1_bcr__ctl0___PostRepeater__ctl1_PostViewWrapper"&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I calls the PARDISO solver in my program. It crashes when run to thisfunction and aDOS window pop-up:&lt;/P&gt;
&lt;P&gt;system error(8): __kmp_create_monitor: CreateThread: Not enough storage is availableto process this command.&lt;/P&gt;
&lt;P&gt;OMP abort: fatal system error detected.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;What shouldI do to avoid this crash?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Zhanghong Tang&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Mar 2007 13:31:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875452#M3140</guid>
      <dc:creator>Zhanghong_T_</dc:creator>
      <dc:date>2007-03-22T13:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: crash when calling PARDISO</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875453#M3141</link>
      <description>&lt;P&gt;Tang,&lt;/P&gt;
&lt;P&gt;The likely cause for this is your application is allocating all of virtual memory to data structures prior to entering the first parallel region. Then when you enter your first parallel region there is no remaining memory to allocate to the new threads contexts. To resolve this try the following:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#0000ff"&gt;PROGRAM&lt;/FONT&gt; YourProgramNameHere&lt;BR /&gt;&lt;FONT color="#008000"&gt;! Prior to allocating your allocatable arrays&lt;BR /&gt;! Insert something innocuous to initiate the OpenMP threads&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#008000" size="2"&gt;!$OMP PARALLEL PRIVATE(I)&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#008000" size="2"&gt;&lt;FONT color="#000000" size="2"&gt; I=OMP_GET_THREAD_NUM()&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#008000" size="2"&gt;&lt;FONT color="#008000"&gt;!$OMP END PARALLEL&lt;BR /&gt;! Now allocate your allocatable arrays&lt;BR /&gt;&lt;/FONT&gt;...&lt;BR /&gt;&lt;FONT color="#0000ff"&gt;END &lt;/FONT&gt;&lt;FONT color="#000000" size="3"&gt;&lt;FONT color="#0000ff"&gt;PROGRAM&lt;/FONT&gt; YourProgramNameHere&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT&gt;&lt;FONT face="Times New Roman" color="#000000"&gt;A second cause of the problem is if you link your program specifyingan overly large stack size. When you do this then each new thread created will also attempt to obtain the same overly large stack size. To correct for this make your stack size smaller. This may require you to use allocatable arrays in place of the large stack arrays that may exist in your program. Or using an option switch to request large stack based arrays be allocated on the heap:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;/heap-arrays[:n]&lt;BR /&gt; Temporary arrays of minimum size n (in kilobytes) are&lt;BR /&gt; allocated in heap memory rather than on the stack&lt;BR /&gt;/heap-arrays- (DEFAULT) Temporary arrays are allocated on the stack&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;Jim Dempsey&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color="#008000" size="2"&gt;&lt;FONT color="#008000" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color="#008000" size="2"&gt;&lt;FONT color="#008000" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Mar 2007 15:26:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875453#M3141</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-03-22T15:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: crash when calling PARDISO</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875454#M3142</link>
      <description>&lt;P&gt;Hi Jim,&lt;/P&gt;
&lt;P&gt;Thank you very much for your reply.It just caused by a large stack size set in the project.ButI am stillnot very clear that whythe error message alwaysappears if I call the solver, no matter whether I specified /Qopenmp or not. &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Zhanghong Tang&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2007 15:58:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875454#M3142</guid>
      <dc:creator>Zhanghong_T_</dc:creator>
      <dc:date>2007-03-22T15:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: crash when calling PARDISO</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875455#M3143</link>
      <description>&lt;P&gt;Tang,&lt;/P&gt;
&lt;P&gt;Insert into the front of your PROGRAM&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000" size="2"&gt;!$OMP PARALLEL PRIVATE(I)&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#000000" size="2"&gt;&lt;FONT color="#008000"&gt; I=OMP_GET_THREAD_NUM()&lt;BR /&gt;WRITE(*,*) 'Thread',I&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000" size="2"&gt;&lt;FONT color="#008000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#008000" size="2"&gt;!$OMP END PARALLEL&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#000000"&gt;See if OpenMP starts and displays the list of thread numbers.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Set a break point on the statement _following_ the END PARALLEL&lt;/P&gt;
&lt;P&gt;Click on Debug | Exceptions&lt;/P&gt;
&lt;P&gt;Check everything in the Win32 exceptions (remember to uncheck later). Prior to checking you can Alt-PrintScreen with the check box window in focus then paste the image into Paint or WinWord. You can reference the image later to restore the check boxes to your prior settings.&lt;/P&gt;
&lt;P&gt;With good fortune, the problem will trap into the debugger and you will have enough information to correct the problem.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#008000" size="2"&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2007 04:04:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/crash-when-calling-PARDISO/m-p/875455#M3143</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-03-23T04:04:50Z</dc:date>
    </item>
  </channel>
</rss>

