<?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: stack size limits? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759731#M15218</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;sblionel wrote:&lt;BR /&gt;&lt;DIV&gt;How is the link broken?&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would have to say "it's not".&lt;BR /&gt;&lt;BR /&gt;Heh. Up until yesterday, it was displaying the first menu item from the left, and a menu item across the top, but nothing else.&lt;BR /&gt;&lt;BR /&gt;I haven't done any upgrading on my end, so it's not a mozilla upgrade or something, so I'll just put this one into the "mystery" bucket.&lt;BR /&gt;&lt;BR /&gt;BTW - do intel check their webpages with some sort of w3c validator?</description>
    <pubDate>Fri, 14 May 2004 11:29:22 GMT</pubDate>
    <dc:creator>timconnors</dc:creator>
    <dc:date>2004-05-14T11:29:22Z</dc:date>
    <item>
      <title>stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759727#M15214</link>
      <description>In: Intel Fortran Compiler for 32-bit applications, Version 8.0   Build 20040412Z Package ID: l_fc_pc_8.0.046&lt;BR /&gt;&lt;BR /&gt;I have a peice of code that was working in v 7.0:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;  SUBROUTINE regrid2dREAL(blank,invalid,scale,unlogify, &amp;amp;&lt;BR /&gt;       x1i,x2i,y1i,y2i,xl,xh,yl,yh,pdxi,pdyi, &amp;amp;&lt;BR /&gt;       x1o,x2o,y1o,y2o,pdxo,pdyo, arrayi, arrayo)&lt;BR /&gt;&lt;BR /&gt;    .....&lt;BR /&gt;&lt;BR /&gt;    DOUBLE PRECISION, INTENT(IN) :: arrayi(:,:)&lt;BR /&gt;    REAL,             INTENT(INOUT):: arrayo(:,:)&lt;BR /&gt;&lt;BR /&gt;    DOUBLE PRECISION, ALLOCATABLE :: weights(:,:)&lt;BR /&gt;&lt;BR /&gt;    ALLOCATE(weights(x1o:x2o,y1o:y2o),STAT=status)&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;When the weights array was explicitly on the stack, and was dimensioned x1o:x2o,y1o:y2o, the program would segfault immediately upon entry to regrid2dREAL. I got around this eventaully, once I worked out what was happening, by allocating it manually as in the above code snippet. This array is not very big - currently 823x823 elements, ie, only a few meg -- I experimentally determined that an array ~ 3/4*3/4 as big as this was fine. Soon, I will want to write the 3D analogue of this, in which case I will seriously be straining the stack if I try to do the same thing.&lt;BR /&gt;&lt;BR /&gt;Bash tells me via ulimit that my stack size is unlimited. What gives? Does ifort have an accidental stack size limit now?</description>
      <pubDate>Wed, 12 May 2004 14:37:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759727#M15214</guid>
      <dc:creator>timconnors</dc:creator>
      <dc:date>2004-05-12T14:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759728#M15215</link>
      <description>&lt;P&gt;Message Edited by tim18 on &lt;SPAN class="date_text"&gt;08-25-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:50 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2004 20:36:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759728#M15215</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2004-05-12T20:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759729#M15216</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;tcprince wrote:&lt;BR /&gt;&lt;DIV&gt;Since you don't give much information, I'll remind you that a typical thread stack size limit for static links with glibc is 2MB.  As I understand it, 7.1 over-rode -static for the thread library link.  Why do you think premier.intel.com reports require information such as your kernel and glibc, and the compiler options employed?&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OK. kernel is a SuSE 2.4.20 kernel. Glibc is 2.3.2-6.&lt;BR /&gt;&lt;BR /&gt;I thought I had included the compiler flags. I'm currently using&lt;BR /&gt;&lt;BR /&gt;ifort -u -nbs -tpp7 -axW -fno-alias -ansi_alias -ip -align -warn all -traceback -O2  -o plotmomentmaps.o -c plotmomentmaps.f90&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;ifort -u -nbs -tpp7 -axW -fno-alias -ansi_alias -ip -align -warn all -traceback -O0 -C  -o plotmomentmaps.go -c plotmomentmaps.f90&lt;BR /&gt;&lt;BR /&gt;the latter for my debugging versio - both crash in the same way&lt;BR /&gt;&lt;BR /&gt;I thought stack sizes for threads were irrelevant (particularly since the man page states -nothreads is the default) - I'm not doing anything multithreaded. But that 2MB limit would be my problem - thanks for letting me know.&lt;BR /&gt;&lt;BR /&gt;As to premier.intel.com - I don't have a login for that (I could grab one off the support guys here, but haven't done so yet), and the link in the "welcome to the forum" post is somewhat broken for any browsers I am liable to be able to use under Linux.</description>
      <pubDate>Thu, 13 May 2004 12:17:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759729#M15216</guid>
      <dc:creator>timconnors</dc:creator>
      <dc:date>2004-05-13T12:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759730#M15217</link>
      <description>&lt;DIV&gt;How is the link broken?&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 May 2004 20:45:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759730#M15217</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-13T20:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759731#M15218</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;sblionel wrote:&lt;BR /&gt;&lt;DIV&gt;How is the link broken?&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would have to say "it's not".&lt;BR /&gt;&lt;BR /&gt;Heh. Up until yesterday, it was displaying the first menu item from the left, and a menu item across the top, but nothing else.&lt;BR /&gt;&lt;BR /&gt;I haven't done any upgrading on my end, so it's not a mozilla upgrade or something, so I'll just put this one into the "mystery" bucket.&lt;BR /&gt;&lt;BR /&gt;BTW - do intel check their webpages with some sort of w3c validator?</description>
      <pubDate>Fri, 14 May 2004 11:29:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759731#M15218</guid>
      <dc:creator>timconnors</dc:creator>
      <dc:date>2004-05-14T11:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759732#M15219</link>
      <description>I see now that &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.intel.com/support/performancetools/fortran/sb/CS-007790.htm" target="_blank"&gt;http://support.intel.com/support/performancetools/fortran/sb/CS-007790.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;talks about the stack size issue. The suggestion to use ulimit -s unlimited is what I already have, and doesn't fix the problem.&lt;BR /&gt;&lt;BR /&gt;The thread issue tcprince mentioned - are there compiler flags thatI could use to check his theory?</description>
      <pubDate>Fri, 14 May 2004 11:41:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759732#M15219</guid>
      <dc:creator>timconnors</dc:creator>
      <dc:date>2004-05-14T11:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: stack size limits?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759733#M15220</link>
      <description>If your problem is with the thread stack size limit, linking dynamically against the thread libraries should allow your shell or environment stack limits settings to take effect.If you want more expert advice about this, you might ask on the threading forum, after reading &lt;A href="http://www.intel.com/software/products/compilers/clin/relnotes.pdf" target="_blank"&gt;http://www.intel.com/software/products/compilers/clin/relnotes.pdf&lt;/A&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 12:21:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/stack-size-limits/m-p/759733#M15220</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2004-05-14T12:21:17Z</dc:date>
    </item>
  </channel>
</rss>

