<?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 code run fine with ifort 10.1 but has problem with ifort 12 and ifort 13 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/code-run-fine-with-ifort-10-1-but-has-problem-with-ifort-12-and/m-p/958060#M94054</link>
    <description>&lt;P&gt;&lt;B&gt;I have a big mpi code it's was completely fine when I used that in ifort 10 but when I want to use systems with ifort 12 or ifort 13, I can compile and run but the code stops ( in some system with segmentation fault, in some of them without any error ). It doesn't go into the simple following function :&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;!----*|--.---------.---------.---------.---------.---------.---------.-|-------|&lt;BR /&gt;SUBROUTINE MPI_COMBINE_STATS(STAT,Z_SIZE,Y_SIZE)&lt;BR /&gt;!----*|--.---------.---------.---------.---------.---------.---------.-|-------|&lt;BR /&gt;use ntypes&lt;BR /&gt;use Domain&lt;BR /&gt;use Grid&lt;BR /&gt;use mpi_var&lt;BR /&gt;implicit none&lt;BR /&gt;integer :: I, J, Z_SIZE,Y_SIZE,send_rank&lt;BR /&gt;real(r8),dimension(0:Z_SIZE*Y_SIZE-1) :: STAT&lt;BR /&gt;real(r8),dimension(0:Z_SIZE*Y_SIZE-1,1:NP) :: STAT_TMP&lt;/P&gt;
&lt;P&gt;send_rank = 0&lt;BR /&gt;CALL MPI_GATHER(STAT,Z_SIZE*Y_SIZE,MPI_DOUBLE_PRECISION,STAT_TMP,Z_SIZE*Y_SIZE,MPI_DOUBLE_PRECISION,send_rank,MPI_COMM_WORLD,IERROR)&lt;BR /&gt;IF ( RANK .EQ. 0) THEN&lt;BR /&gt;STAT(:) = 0D0&lt;BR /&gt;DO I = 1,NP&lt;BR /&gt;DO J =0, Z_SIZE*Y_SIZE-1&lt;BR /&gt;STAT(J) = STAT(J) + STAT_TMP(J,I)&lt;BR /&gt;ENDDO&lt;BR /&gt;ENDDO&lt;BR /&gt;ENDIF&lt;/P&gt;
&lt;P&gt;RETURN&lt;BR /&gt;END&lt;/P&gt;
&lt;P&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Is there any way/flag to ask ifort 13 to use structures like ifort 10 or something like this ? I am trying to fix the problems, but that's not too much straight forward .&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2013 10:54:02 GMT</pubDate>
    <dc:creator>Masoud_J_</dc:creator>
    <dc:date>2013-03-01T10:54:02Z</dc:date>
    <item>
      <title>code run fine with ifort 10.1 but has problem with ifort 12 and ifort 13</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/code-run-fine-with-ifort-10-1-but-has-problem-with-ifort-12-and/m-p/958060#M94054</link>
      <description>&lt;P&gt;&lt;B&gt;I have a big mpi code it's was completely fine when I used that in ifort 10 but when I want to use systems with ifort 12 or ifort 13, I can compile and run but the code stops ( in some system with segmentation fault, in some of them without any error ). It doesn't go into the simple following function :&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;!----*|--.---------.---------.---------.---------.---------.---------.-|-------|&lt;BR /&gt;SUBROUTINE MPI_COMBINE_STATS(STAT,Z_SIZE,Y_SIZE)&lt;BR /&gt;!----*|--.---------.---------.---------.---------.---------.---------.-|-------|&lt;BR /&gt;use ntypes&lt;BR /&gt;use Domain&lt;BR /&gt;use Grid&lt;BR /&gt;use mpi_var&lt;BR /&gt;implicit none&lt;BR /&gt;integer :: I, J, Z_SIZE,Y_SIZE,send_rank&lt;BR /&gt;real(r8),dimension(0:Z_SIZE*Y_SIZE-1) :: STAT&lt;BR /&gt;real(r8),dimension(0:Z_SIZE*Y_SIZE-1,1:NP) :: STAT_TMP&lt;/P&gt;
&lt;P&gt;send_rank = 0&lt;BR /&gt;CALL MPI_GATHER(STAT,Z_SIZE*Y_SIZE,MPI_DOUBLE_PRECISION,STAT_TMP,Z_SIZE*Y_SIZE,MPI_DOUBLE_PRECISION,send_rank,MPI_COMM_WORLD,IERROR)&lt;BR /&gt;IF ( RANK .EQ. 0) THEN&lt;BR /&gt;STAT(:) = 0D0&lt;BR /&gt;DO I = 1,NP&lt;BR /&gt;DO J =0, Z_SIZE*Y_SIZE-1&lt;BR /&gt;STAT(J) = STAT(J) + STAT_TMP(J,I)&lt;BR /&gt;ENDDO&lt;BR /&gt;ENDDO&lt;BR /&gt;ENDIF&lt;/P&gt;
&lt;P&gt;RETURN&lt;BR /&gt;END&lt;/P&gt;
&lt;P&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Is there any way/flag to ask ifort 13 to use structures like ifort 10 or something like this ? I am trying to fix the problems, but that's not too much straight forward .&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 10:54:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/code-run-fine-with-ifort-10-1-but-has-problem-with-ifort-12-and/m-p/958060#M94054</guid>
      <dc:creator>Masoud_J_</dc:creator>
      <dc:date>2013-03-01T10:54:02Z</dc:date>
    </item>
    <item>
      <title>If you are using an open</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/code-run-fine-with-ifort-10-1-but-has-problem-with-ifort-12-and/m-p/958061#M94055</link>
      <description>&lt;P&gt;If you are using an open source MPI, you may need to rebuild it with the later compiler.&lt;/P&gt;
&lt;P&gt;Even with Intel MPI, I'm not certain that the MPI built with 10.x or earlier compiler could support the current ones.&amp;nbsp; That would be a question for the HPC forum.&lt;/P&gt;
&lt;P&gt;If your MPI throws run-time data type errors, it may mean you are not building and running always with the same MPI.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2013 14:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/code-run-fine-with-ifort-10-1-but-has-problem-with-ifort-12-and/m-p/958061#M94055</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2013-03-02T14:45:00Z</dc:date>
    </item>
  </channel>
</rss>

