<?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 That error usually means that in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178103#M148023</link>
    <description>&lt;P&gt;That error usually means that some way the application was built makes it unable to run. The most common cases for this are static code and data exceeding 2GB (or close to that), or a stack reserve linker setting too high.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2020 20:09:19 GMT</pubDate>
    <dc:creator>Steve_Lionel</dc:creator>
    <dc:date>2020-01-30T20:09:19Z</dc:date>
    <item>
      <title>large array allocation failure 41</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178074#M147994</link>
      <description>&lt;P&gt;my code allocates a large array.&amp;nbsp; I've used Lahey fortran for years and no problem, but with intel, it won't allocate the array.&amp;nbsp; This is the allocation&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;
    REAL(8) , Allocatable, Dimension(:,:,:,:) ::	gas      ! Gas properties array		
    ALLOCATE( gas (ncham,nsteps,nspecies,nparam),stat=st)&lt;/PRE&gt;

&lt;P&gt;ncham is 5, nsteps is 250,000, nspecies is 10, and nparam is 19.&amp;nbsp; my estimate is this is somewhere in the 20GB range.&amp;nbsp; My machine has 128 GB of RAM avail, but I'm getting the following error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark;"&gt;&amp;nbsp;status after allocation of variable gas is &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 41
forrtl: severe (157): Program Exception - access violation
Image &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Routine &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source
libifcoremd.dll &amp;nbsp; &amp;nbsp;0FFF9F99 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
libifcoremd.dll &amp;nbsp; &amp;nbsp;10023738 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
libifcoremd.dll &amp;nbsp; &amp;nbsp;1005A4AF &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
libifcoremd.dll &amp;nbsp; &amp;nbsp;10058E40 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
AIPPintel1.exe &amp;nbsp; &amp;nbsp; 0138C772 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
AIPPintel1.exe &amp;nbsp; &amp;nbsp; 013A11CC &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
AIPPintel1.exe &amp;nbsp; &amp;nbsp; 013DB70F &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
AIPPintel1.exe &amp;nbsp; &amp;nbsp; 013DBC91 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
KERNEL32.DLL &amp;nbsp; &amp;nbsp; &amp;nbsp; 74CF8494 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
ntdll.dll &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;770941C8 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown
ntdll.dll &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;77094198 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my virtual memory is set at 198 GB for all drives.&amp;nbsp; What could the problem be?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 23:57:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178074#M147994</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-23T23:57:48Z</dc:date>
    </item>
    <item>
      <title>Is it a 32 bit application?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178075#M147995</link>
      <description>&lt;P&gt;Is it a 32 bit application? There is a 2GB limit for 32bit your array is 1.9GB&amp;nbsp; but your program will have other&amp;nbsp;memory needs to add to that....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 20:11:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178075#M147995</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-01-24T20:11:12Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;Is it a 32 bit application?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178076#M147996</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;Is it a 32 bit application?&lt;/P&gt;&lt;P&gt;Image &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Routine &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Source&lt;BR /&gt;libifcoremd.dll &amp;nbsp; &amp;nbsp;0FFF9F99 &amp;nbsp;Unknown &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unknown &amp;nbsp;Unknown&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes it is. The PC addresses are 32-bit.&lt;/P&gt;&lt;P&gt;Please compile as 64-bit application.&lt;/P&gt;&lt;P&gt;Additional note. Some of the older IVF compilers had an issue of allocating an array larger than 2GB when the allocation&amp;nbsp;sizes arguments were passed in as 32-bit integers. The fix for those versions were to use 64-bit integers.&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 20:43:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178076#M147996</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-24T20:43:15Z</dc:date>
    </item>
    <item>
      <title>how do I compile as 64 bit? </title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178077#M147997</link>
      <description>&lt;P&gt;how do I compile as 64 bit?&amp;nbsp; sorry, I'm used to Lahey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 21:08:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178077#M147997</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-24T21:08:26Z</dc:date>
    </item>
    <item>
      <title>Use a Parallel Studio command</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178078#M147998</link>
      <description>&lt;P&gt;Use a Parallel Studio command prompt for Intel64 from the Start Menu, or choose an X64 configuration in Visual Studio.&lt;/P&gt;&lt;P&gt;Lahey on Windows did not generate 64-bit EXEs.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 01:20:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178078#M147998</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-01-25T01:20:17Z</dc:date>
    </item>
    <item>
      <title>In Visual Studio, click the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178079#M147999</link>
      <description>&lt;P&gt;In Visual Studio, click the Pull-Down of Platform. You should see Win32 &amp;nbsp;and Configuration Manager. In Configuration Manager select &amp;lt;new&amp;gt;, then use pull down to select x64, (also check create new directory so to keep 64-bit object files separate from 32-bit files).&lt;/P&gt;&lt;P&gt;After you do this, the &amp;nbsp;click the Pull-Down of Platform you should see Win32, x64 and Configuration Manager.&lt;/P&gt;&lt;P&gt;Also note, In the Configuration Manager, there are check boxes to indicate if specific projects are to be built. When you add a new one, they usually are pre-checked, if you have problems with a build, look in the Configuration Manager to assure the project for Build (Debug, Release, yours, ...) is selected for the desired Platform(s).&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jan 2020 14:06:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178079#M147999</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-25T14:06:30Z</dc:date>
    </item>
    <item>
      <title>Hi Jim, thanks.  I didn't see</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178080#M148000</link>
      <description>&lt;P&gt;Hi Jim, thanks.&amp;nbsp; I didn't see x64 as an optioin so figured it was not available.&amp;nbsp; under LAHEY I needed to use the GNU Fortran compiler (if I remember correctly) to create 64 bit apps.&amp;nbsp; This worked.&amp;nbsp; I&amp;nbsp; also had another issue where later in a subroutine I would allocate another relatively small array, but it would crash immediately.&amp;nbsp; After a little research on error message 170, I found that I had to compile with the /stack:100000000 type of command line option and now everything is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the help is much appreciated.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 14:58:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178080#M148000</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-27T14:58:42Z</dc:date>
    </item>
    <item>
      <title>also thanks to the others. </title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178081#M148001</link>
      <description>&lt;P&gt;also thanks to the others.&amp;nbsp; you were all correct as well.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 15:00:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178081#M148001</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-27T15:00:24Z</dc:date>
    </item>
    <item>
      <title>Brian,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178082#M148002</link>
      <description>&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;I found that I had to compile with the /stack:100000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Be careful of taking a "quick fix" that works at first, but later on you get hit by a surprise.&lt;/P&gt;&lt;P&gt;I am going to guess that you have some old code that you are porting to Windows (or Linux as well). This old code is most likely single threaded, and at some point soon, you will want to make it multi-threaded.&lt;/P&gt;&lt;P&gt;IIF this stack requirement will only be used by the main thread, then /stack:100000000, sets it for all threads, which can potentially make your program fail (out of memory). Consider using allocatable arrays&amp;nbsp;and/or enabling heap arrays.&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 16:00:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178082#M148002</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-27T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Hi Jim, I've always used</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178083#M148003</link>
      <description>&lt;P&gt;Hi Jim, I've always used allocatable arrays and never had a problem with Lahey.&amp;nbsp; Moving to 64 bit was a little challenging but I got it working.&amp;nbsp; Now investigating intel fortran, again, a 64 bit issue, but that is resolved now.&amp;nbsp; As far as threading, I don't use hyperthreading since my understanding is the each core only has one math co-processor, so it really doesn't provide any advantage to heavy math codes like ANSYS FLUENT/Mechanical, etc.&amp;nbsp; My code is heavy on the math too, and is a single processor.&amp;nbsp; I have a few "forall" loops that could be parallelized, but they're such small loops that I doubt it would speed up the code at all.&lt;/P&gt;&lt;P&gt;I'm not exactly sure what you mean by single-threaded, is my interpretation correct?&amp;nbsp; I did a side/side comparison of the Intel and Lahey exe's and they were identical to the 12th decimal (or better), so I feel comfortable.&amp;nbsp; The intel compiler ended up about 2x faster.&amp;nbsp; Not sure if that was a default switch that is different during compile time or what. &amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 16:19:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178083#M148003</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-27T16:19:08Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;As far as threading, I don</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178084#M148004</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;As far as threading, I don't use hyperthreading since my understanding is the each core only has one math co-processor...&lt;/P&gt;&lt;P&gt;I am not specifically talking about hyperthreading. I am talking about multi-threading, which includes multi-core (as well as multi-threads within a core aka hyperthreads).&lt;/P&gt;&lt;P&gt;For any system performing serious work, it likely is multi-core. And for larger requirements multi-socket as well as each socket containing multi-cores (with or without HyperThreads per core).&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;they were identical to the 12th decimal (or better),&lt;/P&gt;&lt;P&gt;Be mindful, that different compiler code generation options present a trade-off between speed and precision. You&amp;nbsp;may need to examine how these affect your results.&lt;/P&gt;&lt;P&gt;*** Do not assume the old results are the better results. You may need to&amp;nbsp;specifically determine the&amp;nbsp;accuracy using&amp;nbsp;different means.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 16:35:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178084#M148004</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-27T16:35:29Z</dc:date>
    </item>
    <item>
      <title>I moved the .exe file over to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178086#M148006</link>
      <description>&lt;P&gt;I moved the .exe file over to a laptop and it didn't run.&amp;nbsp; I reduced the stack size significantly, and it still won't run.&amp;nbsp; Any ideas?&amp;nbsp; Is that the heap again?&amp;nbsp; What' is the syntax for applying the heap to the compile?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 15:47:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178086#M148006</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-28T15:47:45Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;I moved the .exe file over</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178087#M148007</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;I moved the .exe file over to a laptop and it didn't run.&lt;/P&gt;&lt;P&gt;Is the laptop 64-bit?&lt;BR /&gt;Did you install the necessary runtime libraries? (Use the Intel Fortran Redistributables)&lt;BR /&gt;Did you instruct the compiler to use the instruction set available on the host (build) machine but not on the laptop?&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 15:57:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178087#M148007</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-28T15:57:25Z</dc:date>
    </item>
    <item>
      <title>it is an x64 based PC.  When</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178088#M148008</link>
      <description>&lt;P&gt;it is an x64 based PC.&amp;nbsp; When I installed Visual Fortran, I installed the C++ libararies and fortran stuff as instructed earlier in this or other chains.&amp;nbsp; However, the second sentence above is foreign to me.&amp;nbsp; Instruct the compiler to use the instruction set avail on the host but not laptop?&amp;nbsp; not sure what you mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 16:17:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178088#M148008</guid>
      <dc:creator>BLaub1</dc:creator>
      <dc:date>2020-01-28T16:17:21Z</dc:date>
    </item>
    <item>
      <title>When you port an application</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178089#M148009</link>
      <description>&lt;P&gt;When you port an application to a system that does not have the development platform (in your case you are doing so), then all the appropriate runtime libraries, whatever they are (Microsoft C++ RTL, Intel Fortran RTL, whatnot RTL), they must be installed too. These typically are called Runtime Redistributables and are available from the appropriate vendor.&lt;/P&gt;&lt;P&gt;When you&amp;nbsp;use an application to a system that IS&amp;nbsp;the development platform (in your case your build system&amp;nbsp;is), then all the appropriate runtime libraries are generally present, and in such cases there is no need to install the Redistributables. Although in some cases they are not installed with the development software (e.g. MKL, MPI, Graphics Library, etc...).&lt;/P&gt;&lt;P&gt;Your post #13 read:&lt;EM&gt; I moved the .exe file over to a laptop and it didn't run.&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It did not mention anything about also installing the development tools.&lt;/P&gt;&lt;P&gt;Does anything appear that can be interpreted as an error message? If so, what?&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 19:41:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178089#M148009</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-28T19:41:27Z</dc:date>
    </item>
    <item>
      <title>And what does "did not run"</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178090#M148010</link>
      <description>&lt;P&gt;And what does "did not run" mean? Was there an error message, and if so, what was it (complete and exact)?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 19:52:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178090#M148010</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-01-28T19:52:21Z</dc:date>
    </item>
    <item>
      <title>Quote:jimdempseyatthecove</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178091#M148011</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;jimdempseyatthecove (Blackbelt) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;I found that I had to compile with the /stack:100000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Consider using allocatable arrays&amp;nbsp;and/or enabling heap arrays.&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I note the heap arrays option is&amp;nbsp;/heap-arrays[:size]&lt;/P&gt;&lt;P&gt;Does the&amp;nbsp;[:size] option work for automatic or private arrays ?&lt;/P&gt;&lt;P&gt;I am asking if&amp;nbsp;this is implemented at compile time (easy&amp;nbsp;for local arrays) or at run time so that small automatic arrays whose size (in kilobytes) &amp;lt; "size" are sent to the&amp;nbsp;stack, but those larger are sent to the heap. This would require alternate deallocation, depending on where the array was allocated.&lt;/P&gt;&lt;P&gt;Does this option also influence allocation of ALLOCATE arrays or !$OMP PRIVATE copies of arrays, depending on size ?&lt;/P&gt;&lt;P&gt;Some compilers are vague as to if they apply this type of option at&amp;nbsp;run time to decide&amp;nbsp;for&amp;nbsp;local,&amp;nbsp;automatic or !$OMP PRIVATE arrays.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 03:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178091#M148011</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2020-01-29T03:25:00Z</dc:date>
    </item>
    <item>
      <title>For information. Out of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178092#M148012</link>
      <description>&lt;P&gt;For information. Out of curiosity I have performed some tests using the following code.&lt;/P&gt;&lt;P&gt;=======================================================================&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; PROGRAM MAIN&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; IMPLICIT &amp;nbsp;REAL*8(A-H,O-Z)&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; REAL(8) , Allocatable, Dimension(:,:,:,:) :: &amp;nbsp; &amp;nbsp;gas &amp;nbsp; &amp;nbsp; &amp;nbsp;! Gas properties array&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; INTEGER*4 &amp;nbsp;ST&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NCHAM = 5&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NSTEPS = 250000&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NSPECIES = 10&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; NPARAM = 19&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ALLOCATE( gas (ncham,nsteps,nspecies,nparam),stat=st)&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; GAS(1,1,1,1) = 1.111111D00&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; GAS(NCHAM,NSTEPS,NSPECIES,NPARAM) = 9.9999999&lt;BR /&gt;!&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; STOP&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; END&lt;BR /&gt;=============================================================&lt;BR /&gt;I have compiled (frequently used) and re-linked (it was many years since) with the Lahey compiler (1997 release).&lt;BR /&gt;I have compiled and linked with Intel VF 2018 (x86 solution, default settings for a console application) in Visual Studio 2017 Professional.&lt;BR /&gt;Both executables run normally. I am developing in W10 with I7 (6 cores) and 16 GB ram.&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 10:05:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178092#M148012</guid>
      <dc:creator>LRaim</dc:creator>
      <dc:date>2020-01-29T10:05:43Z</dc:date>
    </item>
    <item>
      <title>Could I suggest you try and</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178093#M148013</link>
      <description>&lt;P&gt;Could I suggest you try and adapt the following in your new environment.&lt;/P&gt;&lt;P&gt;You could use task manager to inspect the memory working set and Commit Size as the program runs.&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;      PROGRAM MAIN
      IMPLICIT  REAL*8 (A-H,O-Z)
!
      integer,parameter :: jp = selected_int_kind (15)          ! integer*8 kind (for SIZE)
      integer,parameter :: dp = selected_real_kind (10,100)     ! real*8 kind
      REAL(dp) , Allocatable, Dimension(:,:,:,:) ::    gas      ! Gas properties array
!
      INTEGER*4  ST
      character  ans
!
      NCHAM    = 18        ! increased for 6.4 GByte array
      NSTEPS   = 250000
      NSPECIES = 10
      NPARAM   = 19
!
      ALLOCATE ( gas (ncham,nsteps,nspecies,nparam), stat=st)   ! heap array
!
      GAS(1,1,1,1) = 1.111111D00
      GAS(NCHAM,NSTEPS,NSPECIES,NPARAM) = 9.9999999D0
!
      write (*,*) size (gas, KIND=jp) * (8./1024./1024./1024.), ' GByte'
      write (*,*) 'Finish ?'
      read  (*,*) ans
      END
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 11:52:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178093#M148013</guid>
      <dc:creator>John_Campbell</dc:creator>
      <dc:date>2020-01-29T11:52:01Z</dc:date>
    </item>
    <item>
      <title>John,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178094#M148014</link>
      <description>&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;Good suggestion about the task manager. To be nit picky, I would suggest the suffix D0 (and D00) with _dp.&lt;/P&gt;&lt;P&gt;Also, perhaps replacing dp with rk (real kind) or some other generic name for default real kind as declared within the application code.&lt;/P&gt;&lt;P&gt;This leave at issue is how to declare a literal in exponential notation format in the correct kindness. It is somewhat awkward to use&lt;/P&gt;&lt;P&gt;real(rk), parameter&amp;nbsp;:: G = 6.7430_rk / (10_rk**11)&lt;/P&gt;&lt;P&gt;One would think you could always use 6.7430D-11, however, this would not work if rk is the kind real(16).&lt;/P&gt;&lt;P&gt;If someone can suggest a better way to do this it would be insightful.&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 15:51:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/large-array-allocation-failure-41/m-p/1178094#M148014</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-01-29T15:51:36Z</dc:date>
    </item>
  </channel>
</rss>

