<?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: segmentation fault in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759269#M14756</link>
    <description>The 8.0 compiler tends to use more stack than the 7.0 compiler did, especially for array expressions and temporaries. Try raising your stacksize limit and see if that helps.
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Apr 2004 21:19:42 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2004-04-06T21:19:42Z</dc:date>
    <item>
      <title>segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759268#M14755</link>
      <description>hi,&lt;BR /&gt; I work on linux red-hat 7.3.I have both the compiler intel 7.0 and 8.0 (free version) installed.&lt;BR /&gt;I have written here a small program which shows segmentation fault whenever i try to compile it and the run it with intel 8.0 version, with a bigger array size.but if i compile it with intel 7.0 version it perfectly works.&lt;BR /&gt;could anyone point out what is the  problem ?&lt;BR /&gt;&lt;BR /&gt;***the pourpose of the test program is this it replaces the element of a matrix by the sum of its nearest neighbour i.e if i start with matrix whose all elements set to 1,i'll get a matrix whose all elements equal to 4; since &lt;BR /&gt;no of nearest neighbour is 4.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;***************************************************************&lt;BR /&gt;   program matrix&lt;BR /&gt;integer,parameter :: k=1624&lt;BR /&gt;real,target       :: mat(k,k)&lt;BR /&gt;real,pointer      :: pm(:,:)&lt;BR /&gt;integer,target    :: x1(k),x_1(k),x(k)&lt;BR /&gt;integer,pointer   :: p1(:),p_1(:),p(:)&lt;BR /&gt;integer           :: i&lt;BR /&gt;&lt;BR /&gt;mat=1.0&lt;BR /&gt;&lt;BR /&gt;x=reshape( (/(i,i=1,k)/) ,(/k/))&lt;BR /&gt;&lt;BR /&gt;p=&amp;gt;x&lt;BR /&gt;x1=cshift(x, shift=1)&lt;BR /&gt;x_1=cshift(x, shift=-1)&lt;BR /&gt;pm=&amp;gt;mat&lt;BR /&gt;p1=&amp;gt;x1&lt;BR /&gt;p_1=&amp;gt;x_1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pm=pm(p1,p)+pm(p_1,p)+pm(p,p1)+pm(p,p_1)&lt;BR /&gt;&lt;BR /&gt;print*,mat&lt;BR /&gt;end program matrix&lt;BR /&gt;*****************************************************</description>
      <pubDate>Tue, 06 Apr 2004 15:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759268#M14755</guid>
      <dc:creator>anupam_mu</dc:creator>
      <dc:date>2004-04-06T15:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759269#M14756</link>
      <description>The 8.0 compiler tends to use more stack than the 7.0 compiler did, especially for array expressions and temporaries. Try raising your stacksize limit and see if that helps.
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Apr 2004 21:19:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759269#M14756</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-04-06T21:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759270#M14757</link>
      <description>&lt;DIV&gt;My laptop had no trouble with this, using ifort 8.0.044, aside from the overwhelming 40MB of screen output.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I've found the performance of CSHIFT() disappointing. Ifort has specific peeling optimizations which help only with the vectorized f77 form of that operation.&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Apr 2004 22:22:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759270#M14757</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2004-04-06T22:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759271#M14758</link>
      <description>hi,&lt;BR /&gt; thank you for your kind information. but i don't have much knowledge in computer, and i dont understand what u mean to say by raising the stacksize limit.i also read 'intel Fortran Compiler 8.0 for Linux* Systems Release Notes'; they have sugested to' link libpthreads dynamically'.&lt;BR /&gt;&lt;BR /&gt;please could you explain me in detail how to do it&lt;BR /&gt;                                 thank you,</description>
      <pubDate>Wed, 07 Apr 2004 14:39:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759271#M14758</guid>
      <dc:creator>anupam_mu</dc:creator>
      <dc:date>2004-04-07T14:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759272#M14759</link>
      <description>hi,&lt;BR /&gt;thank you for yuor suggestion. inceasing the stack size solve the problem; but if i want to optimize it with -fast option sementation fault again appears.&lt;BR /&gt;  can u tell me what is wrong?</description>
      <pubDate>Fri, 09 Apr 2004 14:10:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/segmentation-fault/m-p/759272#M14759</guid>
      <dc:creator>anupam_mu</dc:creator>
      <dc:date>2004-04-09T14:10:23Z</dc:date>
    </item>
  </channel>
</rss>

