<?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 &amp;gt;&amp;gt;&amp;gt;For the same code if I use in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799016#M36725</link>
    <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;For the same code if I use Inter fortran compiler the whole computer hangs during memory allocation. Is there anyway I can stop the code excuction if its out of memory.&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;Can you use process explorer or better VMmap to confirm out-of-memory scenario?&lt;/P&gt;</description>
    <pubDate>Sat, 04 May 2013 16:38:55 GMT</pubDate>
    <dc:creator>Bernard</dc:creator>
    <dc:date>2013-05-04T16:38:55Z</dc:date>
    <item>
      <title>Computer hangs during allocating memory</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799012#M36721</link>
      <description>Dear all,&lt;BR /&gt;I have a weird problem. My project sometimes goes out of memory . When I use fortran powerstation i will endup with out of memory message. For the same code if I use Inter fortran compiler the whole computer hangs during memory allocation. Is there anyway I can stop the code excuction if its out of memory.&lt;BR /&gt;PS: I am using visual studio 2008 as well &lt;BR /&gt;Regards,&lt;BR /&gt;skravoof</description>
      <pubDate>Tue, 15 Jun 2010 02:44:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799012#M36721</guid>
      <dc:creator>skravoof</dc:creator>
      <dc:date>2010-06-15T02:44:58Z</dc:date>
    </item>
    <item>
      <title>Computer hangs during allocating memory</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799013#M36722</link>
      <description>If you are using the Fortran "allocate" statement then use the error status to check for failure/insufficient memory. Then you will know which array "fails".&lt;BR /&gt;Some people like to allocate several arrays in one allocate statement which is ok but if you are doing this and your arrays are large then IMHO it is better to allocate one array at a time and check the status.&lt;BR /&gt;&lt;BR /&gt;If you also have large arrays(not sized by allocate) then use /heap-arrays:0&lt;BR /&gt;See in VisualStudio Project -&amp;gt; Properties -&amp;gt; Fortran -&amp;gt; Optimization -&amp;gt; Heap Arrays&lt;BR /&gt;&lt;BR /&gt;Les&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jun 2010 07:41:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799013#M36722</guid>
      <dc:creator>Les_Neilson</dc:creator>
      <dc:date>2010-06-15T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Computer hangs during allocating memory</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799014#M36723</link>
      <description>I am not yet convinced that the program ran out of memory (well, I have not seen any code yet!).&lt;BR /&gt;&lt;BR /&gt;You wrote "For the same code if I use Inter fortran compiler the whole computer hangs during memory allocation". That is hard to believe. An ALLOCATE statement either succeeds or fails. I have never seen an ALLOCATE statement cause a computer to hang. On the other hand, if the status is not checked following a failed ALLOCATE, and the not-yet-properly-allocated memory is used, that can certainly cause the hang.&lt;BR /&gt;&lt;BR /&gt;You can use the /traceback compiler option to locate the part of your program where a problem occurs. You can use the STAT=&lt;STATUS_VAR&gt; option of the ALLOCATE statement and examine the value of the status variable, as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STATUS_VAR&gt;</description>
      <pubDate>Tue, 15 Jun 2010 13:16:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799014#M36723</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-06-15T13:16:18Z</dc:date>
    </item>
    <item>
      <title>I am new in the use of the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799015#M36724</link>
      <description>&lt;P&gt;I am new in the use of the coarray ifort facilities, for linux, and I have a problem similar to the one described before. The following is a summary of the code that fails.&lt;/P&gt;
&lt;P&gt;.......................... (ifort code)&lt;/P&gt;
&lt;P&gt;real(sp), allocatable &amp;nbsp;:: snr(:)[:] &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;........................(ifort code)&lt;/P&gt;
&lt;P&gt;allocate (snr(NumberBeams)&lt;LI&gt;,stat=stat)&lt;BR /&gt; write(*,*) "snr ",stat&lt;/LI&gt;&lt;/P&gt;
&lt;P&gt;..................................................&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;And the program hangs, and &amp;nbsp;never executes the last sentence. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2013 16:32:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799015#M36724</guid>
      <dc:creator>Antonio_R_3</dc:creator>
      <dc:date>2013-05-04T16:32:48Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;&gt;For the same code if I use</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799016#M36725</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;For the same code if I use Inter fortran compiler the whole computer hangs during memory allocation. Is there anyway I can stop the code excuction if its out of memory.&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;Can you use process explorer or better VMmap to confirm out-of-memory scenario?&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2013 16:38:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799016#M36725</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-05-04T16:38:55Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...My project sometimes</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799017#M36726</link>
      <description>&amp;gt;&amp;gt;...My project sometimes goes out of memory . When I use fortran powerstation i will endup with out of memory message...

Please provide additional technical details of your system: How much physical memory is installed and settings for Virtual Memory ( see System applet in Control Panel ).</description>
      <pubDate>Sun, 05 May 2013 00:13:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799017#M36726</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-05-05T00:13:01Z</dc:date>
    </item>
    <item>
      <title>@skravoof</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799018#M36727</link>
      <description>&lt;P&gt;@skravoof&lt;/P&gt;
&lt;P&gt;any updates on your problem?&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2013 17:35:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799018#M36727</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2013-05-06T17:35:43Z</dc:date>
    </item>
    <item>
      <title>Quote:Antonio R. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799019#M36728</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Antonio R. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am new in the use of the coarray ifort facilities, for linux, and I have a problem similar to the one described before. The following is a summary of the code that fails.&lt;/P&gt;
&lt;P&gt;.......................... (ifort code)&lt;/P&gt;
&lt;P&gt;real(sp), allocatable &amp;nbsp;:: snr(:)[:] &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;........................(ifort code)&lt;/P&gt;
&lt;P&gt;allocate (snr(NumberBeams)&lt;LI&gt;,stat=stat)&lt;BR /&gt;write(*,*) "snr ",stat&lt;/LI&gt;&lt;/P&gt;
&lt;P&gt;..................................................&lt;/P&gt;
&lt;P&gt;And the program hangs, and &amp;nbsp;never executes the last sentence. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt; &lt;P&gt;&lt;/P&gt;
&lt;P&gt;Popping back to this one for a second ... please look at your code, and make sure that the allocate statement is happening on ALL images.&amp;nbsp;&amp;nbsp; It is a requirement that all images perform the same allocate on a coarray object.&amp;nbsp; Also, the language requires that all images wait until everyone has completed the allocation before continuing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you have code that only performs the allocation on some of the images, well, they are waiting patiently for the ones not participating.&lt;/P&gt;
&lt;P&gt;&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; --Lorri&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2013 10:42:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Computer-hangs-during-allocating-memory/m-p/799019#M36728</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2013-05-07T10:42:41Z</dc:date>
    </item>
  </channel>
</rss>

