<?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 This bug has been fixed for in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002490#M104010</link>
    <description>&lt;P&gt;This bug has been fixed for an update later this year (not in the initial 15.0 release.)&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2014 19:42:37 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2014-07-22T19:42:37Z</dc:date>
    <item>
      <title>Internal compiler error getting RNG state</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002487#M104007</link>
      <description>&lt;P&gt;The following code generates an internal compiler error with 14.0.3.202:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;MODULE rng_state
  TYPE StateType
    INTEGER, ALLOCATABLE :: s(:)
  END TYPE StateType
  TYPE (StateType) :: state
CONTAINS
  SUBROUTINE get()
    INTEGER :: i
    CALL RANDOM_SEED(size=i)
    IF (.NOT. ALLOCATED(state%s)) ALLOCATE( state%s(i) )
    CALL random_seed(get=state%s)
  END SUBROUTINE get
END MODULE rng_state&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2014 21:27:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002487#M104007</guid>
      <dc:creator>jmcfarland101</dc:creator>
      <dc:date>2014-07-16T21:27:38Z</dc:date>
    </item>
    <item>
      <title>Thanks, we'll check it out.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002488#M104008</link>
      <description>&lt;P&gt;Thanks, we'll check it out.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 00:30:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002488#M104008</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-07-17T00:30:28Z</dc:date>
    </item>
    <item>
      <title>I can reproduce this and have</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002489#M104009</link>
      <description>&lt;P&gt;I can reproduce this and have escalated it to development as issue&amp;nbsp;DPD200358912.&lt;/P&gt;

&lt;P&gt;A workaround is to do this:&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;  SUBROUTINE get()
    INTEGER :: i
    integer, allocatable :: state_temp(:)
    CALL RANDOM_SEED(size=i)
    ALLOCATE(state_temp(i))
    CALL random_seed(get=state_temp)
    CALL move_alloc(FROM=state_temp, TO=state%s)
  END SUBROUTINE get&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2014 15:32:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002489#M104009</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-07-21T15:32:15Z</dc:date>
    </item>
    <item>
      <title>This bug has been fixed for</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002490#M104010</link>
      <description>&lt;P&gt;This bug has been fixed for an update later this year (not in the initial 15.0 release.)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2014 19:42:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Internal-compiler-error-getting-RNG-state/m-p/1002490#M104010</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2014-07-22T19:42:37Z</dc:date>
    </item>
  </channel>
</rss>

