<?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 It is a mystery to me. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960967#M94698</link>
    <description>&lt;P&gt;It is a mystery to me. Usually when I have something I really want in a post, it gets bunged up. Next a VC C++ copy followed by "paste from Word"&lt;/P&gt;

&lt;P&gt;long SerialFib2( long n )&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P&gt;if( n&amp;lt;2 )&lt;/P&gt;

&lt;P&gt;return n;&lt;/P&gt;

&lt;P&gt;long fib0 = 1; // most recent&lt;/P&gt;

&lt;P&gt;long fib1 = 1; // 1 prior to most recent&lt;/P&gt;

&lt;P&gt;long fib2 = 0; // 2 prior to most recent&lt;/P&gt;

&lt;P&gt;long i;&lt;/P&gt;

&lt;P&gt;for(i=2; i&amp;lt;n; ++i)&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P&gt;fib2 = fib1;&lt;/P&gt;

&lt;P&gt;fib1 = fib0;&lt;/P&gt;

&lt;P&gt;fib0 = fib1 + fib2;&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;return fib0;&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2014 18:54:59 GMT</pubDate>
    <dc:creator>jimdempseyatthecove</dc:creator>
    <dc:date>2014-03-27T18:54:59Z</dc:date>
    <item>
      <title>Crashing of the program (matrix 500 x 500)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960947#M94678</link>
      <description>&lt;P&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Good day,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;In the main&lt;/SPAN&gt; sub&lt;SPAN class="hps"&gt;routine&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is declared&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a matrix&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;size of 500&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;times&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;500. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;This matrix&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;transferred to the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;subroutine&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Set_null.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;In the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;subroutine&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Set_null&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I want another&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;matrix&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps alt-edited"&gt;matrix&lt;/SPAN&gt;_work&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;) of the same size (a_matrix)&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;program&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;crashes. I have simplified the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;example&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to a minimum&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;so that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the problem still&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;existed&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(see figures).&lt;BR /&gt;
	&lt;BR /&gt;
	If you make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the same thing&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;matrix&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;300 by 300&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;everything&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;OK (&lt;/SPAN&gt;&lt;/SPAN&gt;MAX_SIZE = 300&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;If you use&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;matrix&lt;/SPAN&gt;_work &lt;SPAN class="hps"&gt;allocatable&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;everything&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;OK.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Intel Fortran Compiler 11.1.067.&lt;/P&gt;

&lt;P&gt;Best regards&lt;BR /&gt;
	Lukas Weis&lt;BR /&gt;
	&lt;BR /&gt;
	[fortran]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;!*******************************************************************************&lt;BR /&gt;
	&amp;nbsp; ! Experiment6 - Padani.&lt;BR /&gt;
	&amp;nbsp; !*******************************************************************************&lt;BR /&gt;
	&amp;nbsp; subroutine Experiment6&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(4), parameter ::&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_SIZE = 500&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), dimension(MAX_SIZE, MAX_SIZE)::&amp;nbsp; a_matrix&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; call Set_null(a_matrix(1:MAX_SIZE, 1:MAX_SIZE))&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;BR /&gt;
	&amp;nbsp; contains&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; !*******************************************************************************&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; ! Nulovani matice.&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; !*******************************************************************************&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; pure subroutine Set_null(matrix)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), intent(inout), dimension(:,:) ::&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), dimension(size(matrix, dim=1), size(matrix, dim=2)) ::&amp;nbsp; matrix_work&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix = 0.d0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix_work = 0.d0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; end subroutine Experiment6&lt;/P&gt;

&lt;P&gt;[/fortran]&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 21:45:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960947#M94678</guid>
      <dc:creator>Lukas_W_</dc:creator>
      <dc:date>2014-03-25T21:45:56Z</dc:date>
    </item>
    <item>
      <title>Stack overflow. Easy fix is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960948#M94679</link>
      <description>&lt;P&gt;Stack overflow. Easy fix is to set the property Fortran &amp;gt; Optimization &amp;gt; Heap Arrays to 0. (I think that was in 11.1.) Or add /heap-arrays to the options list. Other choice is to set the Linker &amp;gt; System &amp;gt; Stack Reserve size to some larger value, say, 100000000. (Don't go above that unless you need to.&lt;/P&gt;

&lt;P&gt;See &lt;A href="http://software.intel.com/en-us/forums/topic/275071#comment-1548447"&gt;Doctor Fortran - Don't Blow Your Stack!&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 22:59:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960948#M94679</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-25T22:59:24Z</dc:date>
    </item>
    <item>
      <title>Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960949#M94680</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;

&lt;P&gt;I am surprised that this is a stack overflow problem, as the matrices are 500 x 500 x 8 = 2mb. Given there are 2 matrices and a possible copy for the array sections, that's only 6mb, which is not a big demand on the stack.&amp;nbsp; I suspect there could be other heavy demands for exercises 1-5 ?&lt;/P&gt;

&lt;P&gt;The more robust solution would be to make these arrays allocatable, or place them in a module or a common block.&lt;/P&gt;

&lt;P&gt;Could I suggest that the Stack Reserve size selection is a bit unfriendly. Any consideration to supporting 100m or 100mb instead of 100000000.&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 09:50:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960949#M94680</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2014-03-26T09:50:40Z</dc:date>
    </item>
    <item>
      <title>@Lukas</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960950#M94681</link>
      <description>&lt;P&gt;@Lukas&lt;/P&gt;

&lt;P&gt;Maybe your stack allocation crossed boundary of guard pages?When you inspect raw stack data specific pattern(I do not remeber which exactly) will be overwritten by your matrix allocation.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 11:04:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960950#M94681</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-03-26T11:04:13Z</dc:date>
    </item>
    <item>
      <title>Quote:John Campbell wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960951#M94682</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;John Campbell wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I am surprised that this is a stack overflow problem, as the matrices are 500 x 500 x 8 = 2mb. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;The default stack size is set by the linker (a utility provided by MS with VC/WSDK) to 1 Mb.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Could I suggest that the Stack Reserve size selection is a bit unfriendly. Any consideration to supporting 100m or 100mb instead of 100000000.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The linker accepts a stack size specification in decimal or hex. Thus, &lt;STRONG&gt;/stack:0x7000000&lt;/STRONG&gt; would provide over 100 Mb of stack.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:10:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960951#M94682</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-03-26T13:10:56Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;Could I suggest that the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960952#M94683</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;Could I suggest that the Stack Reserve size selection is a bit unfriendly. Any consideration to supporting 100m or 100mb instead of 100000000.&lt;/P&gt;

&lt;P&gt;I caution against that. Lukas is on a 32-bit system (at least the application is 32-bit). Assuming he gets the single threaded version to work with 100mb stack. If he then options to go multi-threaded, say on a 4 core with HT system (not unreasonable), then this would require 800MB of RAM (possibly 900MB if there is an additional monitor tread created). The best route is to use heap arrays or do the allocation.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:18:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960952#M94683</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-03-26T14:18:33Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960953#M94684</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I caution against that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Jim, my reading of John Campbell's post suggested a slightly different reason for his request. Rather than requesting a new (and large) default stack size, he asked for the suffix 'mb' or 'Mb' to be allowed, so that he could write &lt;STRONG&gt;/stack:100MB&lt;/STRONG&gt; instead of the longer &lt;STRONG&gt;/stack:100000000&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 14:49:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960953#M94684</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-03-26T14:49:00Z</dc:date>
    </item>
    <item>
      <title>This is an MS linker option,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960954#M94685</link>
      <description>&lt;P&gt;This is an MS linker option, we have no control over it.&lt;/P&gt;

&lt;P&gt;The routine set_null declares an automatic array matrix_work - this is put on the stack by default. It could also make sense to declare this ALLOCATABLE and allocate it to the desired size. I prefer this to changing the stack size. It will get automatically deallocated on routine exit.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 19:22:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960954#M94685</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-26T19:22:57Z</dc:date>
    </item>
    <item>
      <title>The stack size allocation is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960955#M94686</link>
      <description>&lt;P&gt;The stack size allocation is not just 1mb, as the following examples show.&lt;BR /&gt;
	I tested the following examples on XE 2011 IA-32 and did not get a stack overflow for the first example, but did for the second. There must be some recognition of the stack requirement for local arrays that are explicitly sized.&lt;/P&gt;

&lt;P&gt;As much is practical, I always avoid the use of stack for temporary arrays, certainly those larger than 20 kbytes.&amp;nbsp; Stack overflow errors should be avoided, rather than changing the stack size. As Jim indicates, this becomes much more important for OpenMP when replicating private arrays.&lt;/P&gt;

&lt;P&gt;[fortran]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call Experiment6&amp;nbsp;&amp;nbsp;&amp;nbsp; !&amp;nbsp; this example works with no stack overflow&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	!*******************************************************************************&lt;BR /&gt;
	! Experiment6 - Padani.&lt;BR /&gt;
	!*******************************************************************************&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine Experiment6&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(4), parameter ::&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_SIZE = 500&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), dimension(MAX_SIZE, MAX_SIZE) :: a_matrix&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write (*,*) 'size_of a_matrix =', sizeof (a_matrix),' bytes'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call Set_null (a_matrix(1:MAX_SIZE, 1:MAX_SIZE))&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contains&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !*******************************************************************************&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! Nulovani matice.&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !*******************************************************************************&lt;/P&gt;

&lt;P&gt;!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pure subroutine Set_null(matrix)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine Set_null(matrix)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), intent(inout), dimension(:,:) ::&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), dimension(size(matrix, dim=1), size(matrix, dim=2)) :: matrix_work&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix = 0.d0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix_work = 0.d0&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write (*,*) 'size_of matrix_work =', sizeof (matrix_work),' bytes'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine Experiment6[/fortran]&lt;/P&gt;

&lt;P&gt;The following example fails at max_size = 400, indicating that a smaller default stack size has been allocated, probably about 2mb in size.&lt;/P&gt;

&lt;P&gt;[fortran]&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do MAX_SIZE = 100,1000,100&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call Experiment6 (MAX_SIZE)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end do&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	!*******************************************************************************&lt;BR /&gt;
	! Experiment6 - Padani.&lt;BR /&gt;
	!*******************************************************************************&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine Experiment6 (MAX_SIZE)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :: MAX_SIZE&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), dimension(MAX_SIZE, MAX_SIZE) :: a_matrix&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write (*,*) ' '&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write (*,*) 'Testing for MAX_SIZE =',max_size&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write (*,*) 'size_of a_matrix =', sizeof (a_matrix),' bytes'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call Set_null (a_matrix(1:MAX_SIZE, 1:MAX_SIZE))&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contains&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !*******************************************************************************&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! Nulovani matice.&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; !*******************************************************************************&lt;/P&gt;

&lt;P&gt;!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pure subroutine Set_null(matrix)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine Set_null(matrix)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), intent(inout), dimension(:,:) ::&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real(8), dimension(size(matrix, dim=1), size(matrix, dim=2)) :: matrix_work&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix = 0.d0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matrix_work = 0.d0&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write (*,*) 'size_of matrix_work =', sizeof (matrix_work),' bytes'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end subroutine Experiment6[/fortran]&lt;/P&gt;

&lt;P&gt;John&lt;/P&gt;

&lt;P&gt;ps: can we have a paste option that does not produce double lines for fortran code ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 01:21:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960955#M94686</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2014-03-27T01:21:44Z</dc:date>
    </item>
    <item>
      <title>Quote:John Campbell wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960956#M94687</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;John Campbell wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;...&lt;/P&gt;

&lt;P&gt;ps: can we have a paste option that does not produce double lines for fortran code ?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;FWIW, I compose my responses in Word, paste code into Word first with a font setting of Courier New, and then&amp;nbsp;add it to the forum comment section&amp;nbsp;using&amp;nbsp;"Paste from Word" option.&amp;nbsp; This works better for me, but YMMV.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:11:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960956#M94687</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2014-03-27T14:11:18Z</dc:date>
    </item>
    <item>
      <title>subroutine GetintsDlg(imes</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960957#M94688</link>
      <description>&lt;P&gt;[fortran]&lt;/P&gt;

&lt;P&gt;subroutine GetintsDlg(imes,imax,ivals,nval)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; implicit none&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! imax = max number of ints that can be returned&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! itmp = array of integer returned&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ! nval = number of integers returned&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer, intent(in)&amp;nbsp; :: imax, imes&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer, intent(out) :: nval&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer, intent(out) :: ivals(imax)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; integer(DWORD)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :: ret&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;

&lt;P&gt;[/fortran]&lt;/P&gt;

&lt;P&gt;Just trying that paste from word tip, which seems to work for me despite the fact it looks all wrong prior to hitting the submit button. Thanks for the tip the code format thing really bugs me.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960957#M94688</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2014-03-27T14:53:00Z</dc:date>
    </item>
    <item>
      <title>Use the Code button which is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960958#M94689</link>
      <description>&lt;P&gt;Use the Code button which is rightmost in the toolbar. Select Fortran as the language. No double spacing.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:57:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960958#M94689</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-27T14:57:02Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;Use the Code button which</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960959#M94690</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;Use the Code button which is rightmost in the toolbar. Select Fortran as the language. No double spacing.&lt;/P&gt;

&lt;P&gt;If you past from Linux gedit this works (no double space).&lt;BR /&gt;
	Paste from MS VS doesn't work&lt;BR /&gt;
	Paste from MS VS to MS NotePad, then Paste from NotePad (gets double space)&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:11:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960959#M94690</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-03-27T15:11:03Z</dc:date>
    </item>
    <item>
      <title>I paste from VS all the time.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960960#M94691</link>
      <description>&lt;P&gt;I paste from VS all the time. In fact I just did it in another thread.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:14:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960960#M94691</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-27T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Another reason I use Word is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960961#M94692</link>
      <description>&lt;P&gt;Another reason I use Word is because then&amp;nbsp;I've a locally saved copy of my topic/comments in case something wrong during posting on the forum site&amp;nbsp;(which is a little too frequent for me in my work environment: IE8 (!) and poor extranet&amp;nbsp;connectivity).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:14:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960961#M94692</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2014-03-27T15:14:28Z</dc:date>
    </item>
    <item>
      <title>In my last attempt, I went</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960962#M94693</link>
      <description>&lt;P&gt;In my last attempt, I went back and forth between linux and Windows, but ended up waiting a few hours until the file attach became successful.&lt;/P&gt;

&lt;P&gt;I suppose the ability to paste may vary among browsers, with IE presumably having superior compatibility with Microsoft applications.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:21:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960962#M94693</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-03-27T15:21:10Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960963#M94694</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I paste from VS all the time. In fact I just did it in another thread.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Pasting code from VS or Notepad always creates a mess for me. I am normally using chrome BTW. This suggests that success is dependant on a number of factors....&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 15:31:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960963#M94694</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2014-03-27T15:31:52Z</dc:date>
    </item>
    <item>
      <title>VS copy and paste directly</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960964#M94695</link>
      <description>&lt;P&gt;VS copy and paste directly inline (not code button paste)&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;IF&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; (IOPT .EQ. 1) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;THEN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;!$OMP PARALLEL DO&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;B&gt;&lt;FONT color="#006400" face="Consolas" size="2"&gt;&lt;FONT color="#006400" face="Consolas" size="2"&gt;&lt;FONT color="#006400" face="Consolas" size="2"&gt;!DIR$ VECTOR ALIGNED&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;DO&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; 10 I=1,N&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;A(I)=DCONJG(A(I))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;&lt;FONT color="#ff0000" face="Consolas" size="2"&gt;10&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;CONTINUE&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;END IF&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;C&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;VS copy and paste into code button&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF (IOPT .EQ. 1) THEN
!$OMP PARALLEL DO
!DIR$ VECTOR ALIGNED
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DO 10 I=1,N
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A(I)=DCONJG(A(I))
&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp; CONTINUE
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF
C
&lt;/PRE&gt;

&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:46:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960964#M94695</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-03-27T18:46:18Z</dc:date>
    </item>
    <item>
      <title>I know copy and paste inline</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960965#M94696</link>
      <description>&lt;P&gt;I know copy and paste inline doesn't work. The code button does.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:48:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960965#M94696</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-03-27T18:48:26Z</dc:date>
    </item>
    <item>
      <title>It worked that time.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960966#M94697</link>
      <description>&lt;P&gt;It worked that time.&lt;/P&gt;

&lt;P&gt;VS C++ copy and paste into code window:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;
long SerialFib2( long n )
{
&amp;nbsp;if( n&amp;lt;2 )
&amp;nbsp;&amp;nbsp;return n;
&amp;nbsp;long fib0 = 1;&amp;nbsp;// most recent
&amp;nbsp;long fib1 = 1;&amp;nbsp;// 1 prior to most recent
&amp;nbsp;long fib2 = 0;&amp;nbsp;// 2 prior to most recent
&amp;nbsp;long i;
&amp;nbsp;for(i=2; i&amp;lt;n; ++i)
&amp;nbsp;{
&amp;nbsp;&amp;nbsp;fib2 = fib1;
&amp;nbsp;&amp;nbsp;fib1 = fib0;
&amp;nbsp;&amp;nbsp;fib0 = fib1 + fib2;
&amp;nbsp;}
&amp;nbsp;return fib0;
}
&lt;/PRE&gt;

&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 18:50:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Crashing-of-the-program-matrix-500-x-500/m-p/960966#M94697</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2014-03-27T18:50:51Z</dc:date>
    </item>
  </channel>
</rss>

