<?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 Dear mecej4, we run in our CI in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130057#M134077</link>
    <description>&lt;P&gt;Dear mecej4, we run in our CI our code with nagfor with -C=all, it doesn't report any problems with any of our tests. Probably at some point I reduced our test case to radically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 14:01:07 GMT</pubDate>
    <dc:creator>Juergen_R_R</dc:creator>
    <dc:date>2019-02-07T14:01:07Z</dc:date>
    <item>
      <title>Regressions in new release</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130028#M134048</link>
      <description>&lt;P&gt;The new release contains some&amp;nbsp;regressions like in 17.0.0 and 18.0.0. Our problems have been reported already as support ticket 03646329, and here are the details:&lt;/P&gt;&lt;P&gt;Our software, which you can download from here: &lt;A href="http://www.hepforge.org/archive/whizard/whizard-2.6.4.tar.gz" target="_blank"&gt;http://www.hepforge.org/archive/whizard/whizard-2.6.4.tar.gz&lt;/A&gt;&lt;BR /&gt;With ifort v19.0.0.117 we observe (though we have already reported errors along these lines!) failures in 5/125 unit tests and 12/277 functional tests are failing. To run the full tests, you need the OCaml compiler, v3.12.0 or newer. Then just do&lt;BR /&gt;./configure, make, make check. The unit tests can be separately run in the directory tests/unit_tests, and the functional tests in tests/functional_tests&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:24:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130028#M134048</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-09-13T14:24:38Z</dc:date>
    </item>
    <item>
      <title>Hi Jürgen,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130029#M134049</link>
      <description>&lt;P&gt;Hi Jürgen,&lt;/P&gt;

&lt;P&gt;first off, I unfortunately have to agree with your assessment that all the recent ifort releases had severe quality issues. The 18.x releases were (and still are) particularly problematic for us (showing at least four wrong-code regressions that were not present in 17.x, and are still unfixed on 18.x). 19.0 actually seems to be a bit better for our purpose from what I see so far.&lt;/P&gt;

&lt;P&gt;Regarding your issues: What you report seems to be at least one (or even several) runtime regressions, going from 18.3 to 19.0. Correct?&lt;/P&gt;

&lt;P&gt;I have recently tried my cmake script that runs part of the gfortran testsuite (already reported here earlier) on ifort 19.0, using the test base from the current GCC trunk (see &lt;A href="https://github.com/janusw/gcc/commits/janus/gfortran_testing)" target="_blank"&gt;https://github.com/janusw/gcc/commits/janus/gfortran_testing)&lt;/A&gt;. The (possible) runtime regressions of 19.0 (wrt 18.3) that I find with this method are the following:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;coarray/allocate_errgmsg.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/dummy_1.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/get_array.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/lock_2.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/scalar_alloc_1.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/sendget_array.f90&lt;/LI&gt;
	&lt;LI&gt;dtio_1.f90&lt;/LI&gt;
	&lt;LI&gt;mod_large_1.f90&lt;/LI&gt;
	&lt;LI&gt;read_eof_all.f90&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Note that I have not yet verified for all these cases whether they are actual ifort 19 bugs. But they might be starting points to look into. If you're not using coarrays, that leaves only three cases.&lt;/P&gt;

&lt;P&gt;In case you find out more details about what triggers the issues in your testsuite, please report back here.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Janus&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 08:23:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130029#M134049</guid>
      <dc:creator>Janus</dc:creator>
      <dc:date>2018-09-14T08:23:24Z</dc:date>
    </item>
    <item>
      <title>Fully agree,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130030#M134050</link>
      <description>&lt;P&gt;Fully agree,&lt;/P&gt;

&lt;P&gt;this code is screwed already:&lt;/P&gt;

&lt;PRE class="brush:fortran; class-name:dark;"&gt;Module mod_test_1
  implicit none
  Private
  Type, Public :: test_1
  End type test_1
End Module mod_test_1
Module Mod_test_2
  use Mod_test_1, only: test_1
  implicit none
  Private
  Type, Public :: test_2
  contains
    Procedure, Pass :: s1=&amp;gt;Sub1
  end type test_2
  Interface
    Module Subroutine Sub1(this)
      Class(test_2), Intent(Inout) :: this
    end Subroutine
  End Interface
end Module Mod_test_2
SubModule(Mod_test_2) smod_test_2
contains
  Module Procedure sub1
    Implicit None
    Type(test_1) :: a
  end procedure
end SubModule smod_test_2&lt;/PRE&gt;

&lt;P&gt;ifort 19 cannot handle the "private" statement in module "mod_test_2", but it runs in 17.07, 18.03 and gfortran 8.2. Therefore I assume a bug.&lt;/P&gt;

&lt;P&gt;Intel really starts to suck. I am still stuck at 17.07 because all 18 releases were unusable, (still waiting for 18.04). Was hoping 19 will fix it but bad luck.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 11:26:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130030#M134050</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2018-09-14T11:26:05Z</dc:date>
    </item>
    <item>
      <title>Quote:may.ka wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130031#M134051</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;may.ka wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;..&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;this code is screwed already: ..&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;ifort 19 cannot handle the "private" statement in module "mod_test_2", but it runs in 17.07, 18.03 and gfortran 8.2. Therefore I assume a bug. ..&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;@may.ka,&lt;/P&gt;

&lt;P&gt;Trust you will submit a support request for this regression at the Intel OSC?&amp;nbsp; In it, you can request this nice case be added to the regression test suite for the Fortran compiler.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:27:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130031#M134051</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2018-09-14T16:27:39Z</dc:date>
    </item>
    <item>
      <title>Quote:Janus wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130032#M134052</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Janus wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The (possible) runtime regressions of 19.0 (wrt 18.3) that I find with this method are the following:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;coarray/allocate_errgmsg.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/dummy_1.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/get_array.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/lock_2.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/scalar_alloc_1.f90&lt;/LI&gt;
	&lt;LI&gt;coarray/sendget_array.f90&lt;/LI&gt;
	&lt;LI&gt;dtio_1.f90&lt;/LI&gt;
	&lt;LI&gt;mod_large_1.f90&lt;/LI&gt;
	&lt;LI&gt;read_eof_all.f90&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Starting with the non-coarray tests, I just had a closer look at dtio_1.f90. Does look like an actual regression. Here is a slight reduction:&lt;/P&gt;

&lt;P&gt;MODULE p&lt;BR /&gt;
	&amp;nbsp; USE ISO_FORTRAN_ENV&lt;BR /&gt;
	&amp;nbsp; TYPE :: person&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER (LEN=20) :: name = 'Charlie'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER(4) :: age = 99&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; CONTAINS&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure :: pwf&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GENERIC :: WRITE(FORMATTED) =&amp;gt; pwf&lt;BR /&gt;
	&amp;nbsp; END TYPE person&lt;BR /&gt;
	CONTAINS&lt;BR /&gt;
	&amp;nbsp; SUBROUTINE pwf (dtv,unit,iotype,vlist,iostat,iomsg)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; CLASS(person), INTENT(IN) :: dtv&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER, INTENT(IN) :: unit&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER (LEN=*), INTENT(IN) :: iotype&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER, INTENT(IN) :: vlist(:)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER, INTENT(OUT) :: iostat&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER (LEN=*), INTENT(INOUT) :: iomsg&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; iomsg = "SUCCESS"&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; iostat=0&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; print *, "in pwf"&lt;BR /&gt;
	&amp;nbsp; END SUBROUTINE pwf&lt;BR /&gt;
	END MODULE p&lt;/P&gt;

&lt;P&gt;PROGRAM test&lt;BR /&gt;
	&amp;nbsp; USE p&lt;BR /&gt;
	&amp;nbsp; TYPE (person), SAVE :: chairman&lt;BR /&gt;
	&amp;nbsp; TYPE (person), SAVE :: member&lt;BR /&gt;
	&amp;nbsp; character(80) :: astring&lt;BR /&gt;
	&amp;nbsp; astring = "FAILURE"&lt;BR /&gt;
	&amp;nbsp; write (10, "(DT'zeroth',3x, DT'three'(11,4,10),11x,DT'two'(8,2))", &amp;amp;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp; iostat=myiostat, iomsg=astring) member, chairman, member&lt;BR /&gt;
	&amp;nbsp; if (myiostat.ne.0) STOP 3&lt;BR /&gt;
	&amp;nbsp; print *, astring&lt;BR /&gt;
	&amp;nbsp; if (astring.ne."SUCCESS") STOP 4&lt;BR /&gt;
	END PROGRAM test&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;With gfortran this gives the (supposedly correct) output:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;in pwf&lt;BR /&gt;
	&amp;nbsp;in pwf&lt;BR /&gt;
	&amp;nbsp;in pwf&lt;BR /&gt;
	&amp;nbsp;SUCCESS&lt;/P&gt;

&lt;P&gt;But ifort 19 prints:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;in pwf&lt;BR /&gt;
	&amp;nbsp;in pwf&lt;BR /&gt;
	&amp;nbsp;in pwf&lt;BR /&gt;
	&amp;nbsp;FAILURE&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;&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;&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;&lt;BR /&gt;
	&amp;nbsp;&lt;BR /&gt;
	4&lt;/P&gt;

&lt;P&gt;Apparently that means that ifort calls the type-bound write procedure, but fails to set the iomsg. Apparently this was working with 18.3.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Janus&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 19:01:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130032#M134052</guid>
      <dc:creator>Janus</dc:creator>
      <dc:date>2018-09-14T19:01:49Z</dc:date>
    </item>
    <item>
      <title>mod_large_1 also looks like</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130033#M134053</link>
      <description>&lt;P&gt;mod_large_1 also looks like an actual bug to me. I amended it with some print statements:&lt;/P&gt;

&lt;P&gt;program mod_large_1&lt;BR /&gt;
	&amp;nbsp; implicit none&lt;BR /&gt;
	&amp;nbsp; real :: r1&lt;BR /&gt;
	&amp;nbsp; r1 = mod (1e22, 1.7)&lt;BR /&gt;
	&amp;nbsp; print *,r1&lt;BR /&gt;
	&amp;nbsp; if (abs(r1 - 0.995928764) &amp;gt; 1e-5) STOP 1&lt;BR /&gt;
	&amp;nbsp; r1 = modulo (1e22, -1.7)&lt;BR /&gt;
	&amp;nbsp; print *,r1&lt;BR /&gt;
	&amp;nbsp; if (abs(r1 + 0.704071283) &amp;gt; 1e-5) STOP 2&lt;BR /&gt;
	end program mod_large_1&lt;/P&gt;

&lt;P&gt;gfortran prints the expected output:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; 0.995928764&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;-0.704071283&lt;/P&gt;

&lt;P&gt;but ifort 19 prints:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; 0.9959288&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; 0.0000000E+00&lt;BR /&gt;
	2&lt;/P&gt;

&lt;P&gt;Again, ifort 18.3 got it right apparently.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 19:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130033#M134053</guid>
      <dc:creator>Janus</dc:creator>
      <dc:date>2018-09-14T19:25:00Z</dc:date>
    </item>
    <item>
      <title>read_eof_all.f90 is slightly</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130034#M134054</link>
      <description>&lt;P&gt;read_eof_all.f90 is slightly less obvious. Here is a reduction:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; character(len=2) :: str&lt;BR /&gt;
	&amp;nbsp; integer :: a, b&lt;BR /&gt;
	&amp;nbsp; str = ''&lt;/P&gt;

&lt;P&gt;&amp;nbsp; read(str,'(i2,/,i2)',end=121,pad='no') a, b&lt;BR /&gt;
	&amp;nbsp; STOP 6&lt;BR /&gt;
	&amp;nbsp; 121 continue&lt;/P&gt;

&lt;P&gt;&amp;nbsp; end&lt;/P&gt;

&lt;P&gt;ifort 19 prints:&lt;/P&gt;

&lt;P&gt;forrtl: severe (67): input statement requires too much data, unit -5, file Internal Formatted Read&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	That runtime error is not exactly 'wrong', but maybe a bit&amp;nbsp; overzealous. gfortran and ifort 18 just silently jump to the end label, instead of throwing a runtime error.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 20:07:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130034#M134054</guid>
      <dc:creator>Janus</dc:creator>
      <dc:date>2018-09-14T20:07:26Z</dc:date>
    </item>
    <item>
      <title>Quote:Janus wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130035#M134055</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Janus wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;B&gt;..&lt;/B&gt; ifort .. fails to set the iomsg. ..&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Fortran standard has in the section on &lt;SPAN style="font-size: 13.008px;"&gt;Defined input/output procedures,&amp;nbsp;&lt;/SPAN&gt;"If the defined input/output procedure returns a nonzero value for the iostat argument, the procedure shall also return an explanatory message in the iomsg argument. &lt;STRONG&gt;Otherwise, the procedure shall not change the value of the iomsg argument&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em;"&gt;" (emphasis mine).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;So my understanding is Intel Fortran 19.0 gets this correct whereas Intel's earlier versions as well as gfortran don't.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 20:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130035#M134055</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2018-09-14T20:51:00Z</dc:date>
    </item>
    <item>
      <title>Quote:FortranFan wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130036#M134056</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;FortranFan wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG class="quote-header"&gt;Quote:&lt;/STRONG&gt;&lt;/P&gt;

&lt;BLOCKQUOTE class="quote-msg quote-nest-1 odd"&gt;
	&lt;DIV class="quote-author"&gt;&lt;EM class="placeholder"&gt;may.ka&lt;/EM&gt; wrote:&lt;/DIV&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;..&amp;nbsp;this code is screwed already: ..&lt;/P&gt;

	&lt;P&gt;ifort 19 cannot handle the "private" statement in module "mod_test_2", but it runs in 17.07, 18.03 and gfortran 8.2. Therefore I assume a bug. ..&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;@may.ka,&lt;/P&gt;

&lt;P&gt;Trust you will submit a support request for this regression at the Intel OSC?&amp;nbsp; In it, you can request this nice case be added to the regression test suite for the Fortran compiler.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I have submitted a support request already.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 21:31:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130036#M134056</guid>
      <dc:creator>may_ka</dc:creator>
      <dc:date>2018-09-14T21:31:23Z</dc:date>
    </item>
    <item>
      <title>Quote:Janus wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130037#M134057</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Janus wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;read_eof_all.f90 is slightly less obvious. ..&lt;/P&gt;

&lt;P&gt;That runtime error is not exactly 'wrong', but maybe a bit&amp;nbsp; overzealous. gfortran and ifort 18 just silently jump to the end label, instead of throwing a runtime error.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I think Intel Fortran 19.0 gets it right with the kind of IO statement present in this test case.&amp;nbsp; The situation is not an END= condition (nor an EOR= one), rather it is an ERR= situation.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 23:49:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130037#M134057</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2018-09-14T23:49:42Z</dc:date>
    </item>
    <item>
      <title>Quote:Janus wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130038#M134058</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Janus wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;mod_large_1 also looks like an actual bug to me. ..&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;MODULO operation on floating-point objects is not without issues and confusion.&amp;nbsp; To me it's unclear whether the result of MODULO( a, p ) can be trusted anytime a processor, whether it be gfortran or any other compiler, doesn't have an integer kind to handle FLOOR( a/p ) which is the case in this test case.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 23:59:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130038#M134058</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2018-09-14T23:59:02Z</dc:date>
    </item>
    <item>
      <title>This  is the reproducer of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130039#M134059</link>
      <description>&lt;PRE class="brush:fortran; class-name:dark;"&gt;&lt;SPAN style="font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 1em;"&gt;This &amp;nbsp;is the reproducer of one of our unit tests, together with the expected output, unfortunately still relatively lengthy. (it corresponds to the resonances_3 unit test of our test suite). This is the expected output:&lt;/SPAN&gt;
&lt;/PRE&gt;

&lt;PRE class="brush:plain; class-name:dark;"&gt;Resonance history with 0 resonances:
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(25)
Resonance history set:
 1 Resonance history with 1 resonances:
   1 2 f(-24)
   contained in (2,4)
 2 Resonance history with 2 resonances:
   1 2 f(-24)
   1 2 3 f(23)
   contained in ()
 3 Resonance history with 1 resonances:
   1 2 3 f(23)
   contained in (2)
 4 Resonance history with 2 resonances:
   1 2 f(-24)
   1 2 3 f(25)
   contained in ()
   Resonance history with 2 resonances:
     Resonance contributors: 1 2 f(-24)
     Resonance contributors: 1 2 3 f(23)

Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)

Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(23)

Resonance history with 1 resonances:
  Resonance contributors: 1 2 3 f(23)

Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(25)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history set:
 1 Resonance history with 1 resonances:
   1 2 f(-24)
   contained in ()
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;And this is the code: (attached) (with the file containing the expected output)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 04:46:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130039#M134059</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-09-15T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Quote:FortranFan wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130040#M134060</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;FortranFan wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Fortran standard has in the section on Defined input/output procedures,&amp;nbsp;"If the defined input/output procedure returns a nonzero value for the iostat argument, the procedure shall also return an explanatory message in the iomsg argument. &lt;STRONG&gt;Otherwise, the procedure shall not change the value of the iomsg argument&lt;/STRONG&gt;" (emphasis mine).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;So my understanding is Intel Fortran 19.0 gets this correct whereas Intel's earlier versions as well as gfortran don't.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks for digging out this standard reference. However, it sounds more like a requirement on the user side, since the user is the one who sets up the I/O procedure and its internal logic. Probably ifort sets up a wrapper around the user I/O procedure to enforce this requirement. I'm not 100% convinced that this is a good idea (may lead to surprises). But detecting this at compile time is quite hard, I guess. A run-time error may be possible.&lt;/P&gt;

&lt;P&gt;In any case the test case is invalid and should be fixed in the GCC repo. I'll report this in bugzilla.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;Janus&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 07:09:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130040#M134060</guid>
      <dc:creator>Janus</dc:creator>
      <dc:date>2018-09-15T07:09:22Z</dc:date>
    </item>
    <item>
      <title>This was the reply from the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130041#M134061</link>
      <description>&lt;P&gt;This was the reply from the Intel support:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -webkit-standard;"&gt;Here is the update: I can reproduce the difference output of 19.0 and 18.0 compiler using your last attached 844 lines of code; however, due to the complexity of the code structure it will take me some time to sort out the cause of the difference. It isn't like the segmentation fault in the old ticket which is quite straight forward a compiler defect.&lt;/P&gt;

	&lt;P style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -webkit-standard;"&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -webkit-standard;"&gt;Thanks,&lt;/P&gt;

	&lt;P style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -webkit-standard;"&gt;Xiaoping Duan&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -webkit-standard;"&gt;This is not very encouraging reply. 844 lines may not be the smallest reproducer, but for the moment I am the only person from our team working on this, and I reduced it from 500,000 lines to 844 lines. This is a severe regression, and yes, it might be a bit complicated, but if Intel wants to live up to the standards of gfortran or nagfor then they should do all they can to sort it out. But I am pretty sure that in the same way we veto in our code ifort 17.0.0/1/2/3 we are going to veto 19.0.0/1/2/3. The last time this happened with gfortran was for 4.9.0/1/2.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 05:05:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130041#M134061</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-09-18T05:05:40Z</dc:date>
    </item>
    <item>
      <title>Jürgen, Ifort 18.0.3 (Windows</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130042#M134062</link>
      <description>&lt;P&gt;Jürgen, Ifort 18.0.3 (Windows) gives the same result as in your "expected" result file in #12. If you don't mind, please post the incorrect result from 19.0. I may be able to reduce the size of your reproducer if I can have that output. Someone else reading this post who has 19.0 installed can help by compiling and running the program and posting the result here.&lt;/P&gt;

&lt;P&gt;I do not have, and will probably not install 19.0 until Update-1 is released (I did the same with 18.0), because of the incompatibilities with Visual Studio 2017 that have been reported by a number of early adopters.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 09:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130042#M134062</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2018-09-18T09:56:00Z</dc:date>
    </item>
    <item>
      <title>Quote:mecej4 wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130043#M134063</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;mecej4 wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Jürgen, Ifort 18.0.3 (Windows) gives the same result as in your "expected" result file in #12. If you don't mind, please post the incorrect result from 19.0. I may be able to reduce the size of your reproducer if I can have that output. Someone else reading this post who has 19.0 installed can help by compiling and running the program and posting the result here.&lt;/P&gt;

&lt;P&gt;I do not have, and will probably not install 19.0 until Update-1 is released (I did the same with 18.0), because of the incompatibilities with Visual Studio 2017 that have been reported by a number of early adopters.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Dear mecej4,&lt;/P&gt;

&lt;P&gt;thanks for picking this up. This is the faulty output from 19.0 below, particularly the contained in part is different. The background is a Monte Carlo generator for collider simulations, where we check for resonant subprocesses. The resonant subprocesses are stored in a DT data structure (actually an allocatable array thereof), and then it is checked whether some resonant subchannels are contained in each other. ifort19 seems to lose some of this information.&lt;/P&gt;

&lt;PRE class="brush:plain; class-name:dark;"&gt;Resonance history with 0 resonances:
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(25)
Resonance history set:
 1 Resonance history with 1 resonances:
   1 2 f(-24)
   contained in ()
 2 Resonance history with 2 resonances:
   1 2
   1 2 3
   contained in ()
 3 Resonance history with 1 resonances:
   1 2 3 f(23)
   contained in ()
 4 Resonance history with 2 resonances:
   1 2 f(25)
   1 2 3
   contained in ()
   Resonance history with 2 resonances:
     Resonance contributors: 1 2
     Resonance contributors: 1 2 3
 
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
 
Resonance history with 2 resonances:
  Resonance contributors: 1 2
  Resonance contributors: 1 2 3
 
Resonance history with 1 resonances:
  Resonance contributors: 1 2 3 f(23)
 
Resonance history with 2 resonances:
  Resonance contributors: 1 2
  Resonance contributors: 1 2 3
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history with 2 resonances:
  Resonance contributors: 1 2 f(-24)
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 3 f(23)
Resonance history with 1 resonances:
  Resonance contributors: 1 2 f(-24)
Resonance history set:
 1 Resonance history with 1 resonances:
   1 2 f(-24)
   contained in ()&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 10:03:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130043#M134063</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2018-09-18T10:03:40Z</dc:date>
    </item>
    <item>
      <title>Quote:Juergen R. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130044#M134064</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Juergen R. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;This was the reply from the Intel support:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;Here is the update: I can reproduce the difference output of 19.0 and 18.0 compiler using your last attached 844 lines of code; however, due to the complexity of the code structure it will take me some time to sort out the cause of the difference. It isn't like the segmentation fault in the old ticket which is quite straight forward a compiler defect.&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;/P&gt;

	&lt;P&gt;Thanks,&lt;/P&gt;

	&lt;P&gt;Xiaoping Duan&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This is not very encouraging reply. 844 lines may not be the smallest reproducer, ..&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;@Juergen R. and Intel Support,&lt;/P&gt;

&lt;P&gt;My hunch is the issue in Intel Fortran 19.0 compiler is with the intrinsic assignment of array objects of resonance_info_t derived type as in line 444 of the code:&lt;/P&gt;

&lt;PRE class="brush:fortran; class-name:dark;"&gt;440  subroutine resonance_history_assign (res_hist_out, res_hist_in)
441    class(resonance_history_t), intent(out) :: res_hist_out
442    class(resonance_history_t), intent(in) :: res_hist_in
443    if (allocated (res_hist_in%resonances)) then
444       res_hist_out%resonances = res_hist_in%resonances  !&amp;lt;--- this assignment is failing
445       res_hist_out%n_resonances = res_hist_in%n_resonances
446    end if
447  end subroutine resonance_history_assign
&lt;/PRE&gt;

&lt;P&gt;It's possible the issue may further trickle down to intrinsic assignment of flavor_t derived type.&amp;nbsp; I'll suggest the following checks:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Strip out all code other than model_data, flavors, and that with resonance_contributors_t and resonance_info_t&lt;/LI&gt;
	&lt;LI&gt;Write a unit test with array assignment i.e., bar = foo where bar and foo are of&amp;nbsp;resonance_info_t and with a shape of 2.&amp;nbsp; It's likely this will fail with Intel Fortran 19.0 whereas it works with 18.0.3.&amp;nbsp; This may have give the compiler team further information on what to investigate.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;As a short-term workaround only to @Juergen R. toward further checks of 19.0 compiler, I will suggest trying the following:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Implement defined assignment with ELEMENTAL attribute with flavors_t derived type with suitable logic (deep vs shallow copy) of field_data_t component with the POINTER attribute&lt;/LI&gt;
	&lt;LI&gt;Modify the defined assignment of resonance_contributors_t to have ELEMENTAL attribute, presently it is only PURE&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Or alternately removing the defined assignment for&amp;nbsp;resonance_contributors_t and leaving both components of resonance_info_t to follow the intrinsic assignment route.&lt;/P&gt;

&lt;P&gt;Good luck,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130044#M134064</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2018-09-18T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Ifort 19, Update 2, and the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130045#M134065</link>
      <description>&lt;P&gt;Ifort 19, Update 2, and the regression which is present from the very first 19 beta version is still not fixed. Disappointed.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 06:30:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130045#M134065</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2019-02-06T06:30:50Z</dc:date>
    </item>
    <item>
      <title>Quote:Juergen R. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130046#M134066</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Juergen R. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ifort 19, Update 2, and the regression which is present from the very first 19 beta version is still not fixed. Disappointed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Juergen R.,&lt;/P&gt;&lt;P&gt;Have you run into any additional&amp;nbsp;regressions with 19.0 Update 2?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:31:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130046#M134066</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2019-02-06T14:31:09Z</dc:date>
    </item>
    <item>
      <title>No, doesn't look like.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130047#M134067</link>
      <description>&lt;P&gt;No, doesn't look like.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 14:32:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Regressions-in-new-release/m-p/1130047#M134067</guid>
      <dc:creator>Juergen_R_R</dc:creator>
      <dc:date>2019-02-06T14:32:00Z</dc:date>
    </item>
  </channel>
</rss>

